key-string (authentication)
To specify the authentication string for a key, use the key-string(authentication) command in key chain key
configuration mode. To remove the authentication string, use the no form of this command.
key-string key-string text
no key-string text
Syntax Description
Authentication string that must be sent and received
in the packets using the routing protocol being
authenticated. The string can contain from 1 to 80
uppercase and lowercase alphanumeric characters.
text
Command Default
No authentication string for a key exists.
Command Modes
Key chain key configuration (config-keychain-key)
Examples
The following example shows how to specify the authentication string for a key:
Device(config-keychain-key)# key-string key1
Related Commands
DescriptionCommand
Sets the time period during which the authentication
key on a key chain is received as valid.
accept-lifetime
Identifies an authentication key on a key chain.key
Defines an authentication key-chain needed to enable
authentication for routing protocols.
key chain
Sets the time period during which an authentication
key on a key chain is valid to be sent.
send-lifetime
Displays authentication key information.show key chain
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
184
key-string (authentication)