OcNOS-SP : Layer 3 Guide : Bidirectional Forwarding Detection Command Reference : Bidirectional Forwarding Commands : key-string encrypted
key-string encrypted
Use this command to define a password in its encrypted format to be used by a key.
Use the no parameter with this command to disable this feature
Command Syntax
key-string encrypted WORD
no key-string encrypted
Parameters
WORD
Specify the encrypted string of characters to be used as a passoword by the key. The length of this string should be between 18-162 characters.
Default
By default, password is not configured.
Command Mode
Keychain mode and Keychain-key mode.
Applicability
This command was introduced in OcNOS version 4.1.
Examples:
In the following example, the encrypted password for key-id 1 in the key chain named mykeychain is set to 0xd6c50b442de47f70 (equivalent to "mychain" in plain-text):
#configure terminal
(config)#key chain mykeychain
(config-keychain)#key-id 1
(config-keychain-key)#key-string encrypted 0xd6c50b442de47f70
(config-keychain)#key-id 1
(config-keychain-key)#no key-string
 
Last modified date: 10/16/2023