key-string
Use this command to define a password in plain-text to be used by a key.
The password is stored as encrypted, and is displayed in encrypted text when show running-config command is executed.
Use the no parameter with this command to disable this feature.
Command Syntax
key-string WORD
no key-string
Parameters
WORD
Specify a string of characters to be used as a password by the key. The length of the string should be between 1-80 characters.
Default
By default, password is not configured.
Command Mode
Keychain mode and Keychain-key mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
In the following example, the password for key 1 in the key chain named mychain is set to prime:
#configure terminal
(config)#key chain mychain
(config-keychain)#key 1
(config-keychain-key)#key-string prime
(config-keychain)#key 1
(config-keychain-key)#no key-string
Last modified date: 08/28/2023