peer
To specify the peer node during keyring configuration, use the
peer
command in keyring configuration mode.
peer peer-name
Syntax Description
Peer node
name.
peer-name
Command Default
None
Command Modes
Keyring 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 key1|clear
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
56
Commands
peer