
keyring
To specify the keyring name, use the
keyring
command in the configuration mode.
keyring keyring-name
Syntax Description
Name of the keyring upto 32 characters.
keyring-name
Command Default
None
Command Modes
Configuration
Command History
Modification
Release
This command is
introduced.
Release
7.0.1
Example
The following is a sample in which a keyring is configured.
RP/0/RP0/CPU0:ios#conf
Thu Mar
7 19:33:14.594 UTC
RP/0/RP0/CPU0:ios(config)#
keyring kyr1
RP/0/RP0/CPU0:ios(config-keyring-kyr1)#peer peer1
RP/0/RP0/CPU0:ios(config-keyring-kyr1-peer-peer1)#address 10.0.0.1 255.255.255.0
RP/0/RP0/CPU0:ios(config-keyring-kyr1-peer-peer1)#pre-shared-key password 14341B180F547B7977
RP/0/RP0/CPU0:ios(config-keyring-kyr1-peer-peer1)#commit
Thu Mar
7 19:54:33.314 UTC
RP/0/RP0/CPU0:ios(config-keyring-kyr1-peer-peer1)#exit
RP/0/RP0/CPU0:ios(config-keyring-kyr1)#exit
RP/0/RP0/CPU0:ios(config)#exit
RP/0/RP0/CPU0:ios#show keyring kyr1
Thu Mar
7 19:58:07.135 UTC
Keyring Name
: kyr1
===============================================================================
Total Peers
: 1
-------------------------------------------------------------------------------
Peer Name
: peer1
IP Address
: 10.0.0.1
Subnet Mask
: 255.255.255.0
Local PSK
: Configured
Remote PSK
: Configured
Command Reference for Cisco NCS 1004
42
Commands
keyring