OcNOS-RON : Layer 3 Guide : Routing Information Protocol Command Reference : Routing Information Protocol Commands : key
key
Use this command to manage, add or delete authentication keys in a key-chain. This command allows you to enter the Keychain-key mode to set a password for the key.
Use the no option with this command to disable this feature.
See Appendix B, Routing Information Protocol Authentication for information on how this command is related to the other authentication commands.
Command Syntax
key <0-2147483647>
no key <0-2147483647>
Parameters
<0-2147483647>
Specify a key identifier.
Default
By default, RIP uses level-1-2 if there is no Level-2 instance nor a Level-1-2 instance. Otherwise, it uses level-1.
Command Mode
Keychain 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