key (key chain)
To create or modify a keychain key, use the key command in keychain-key configuration mode. To disable
this feature, use the no form of this command.
key key-id
no key key-id
Syntax Description
48-bit integer key identifier of from 0 to 281474976710655.
key-id
Command Default
No default behavior or values
Command Modes
Keychain-key configuration
Command History
ModificationRelease
This command was introduced.Release 3.3.0
Usage Guidelines
For a Border Gateway Protocol (BGP) keychain configuration, the range for the key-id argument must be
from 0 to 63. If the range is above the value of 63, the BGP keychain operation is rejected.
Task ID
OperationsTask ID
read, writesystem
Examples
The following example shows how to use the key command:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# key chain isis-keys
RP/0/RP0/CPU0:router(config-isis-keys)# key 8
RP/0/RP0/CPU0:router(config-isis-keys-0x8)#
Related Commands
DescriptionCommand
Accepts the valid key.accept-lifetime, on page 146
Creates or modifies a keychain.key chain (key chain), on page 152
Cisco IOS XR System Security Command Reference for the Cisco CRS Router, Release 4.1
150 OL-24740-01
Keychain Management Commands
key (key chain)