Pre-Shared-Key - Cisco NCS 1004 Command Reference Manual

Hide thumbs Also See for NCS 1004:
Table of Contents

Advertisement

pre-shared-key

pre-shared-key
To configure the pre-shared keys for authentication, use the pre-shared-key command in keyring configuration
mode.
pre-shared-key{{ key } { clear cleartext-key } { local local-key } { password encrypted-key }}
Syntax Description
key
clear cleartext-key
password encrypted-key
local local-key
None
Command Default
Keyring configuration
Command Modes
Command History
Release
Release
7.0.1
Example
The following is a sample in which a keyring is configured.
RP/0/RP0/CPU0:ios#conf
Thu Mar
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
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
Keyring Name
===============================================================================
Total Peers
-------------------------------------------------------------------------------
Peer Name
IP Address
Subnet Mask
Local PSK
Remote PSK
Command Reference for Cisco NCS 1004
62
Pre-shared key in clear text for the peer node.
Stores the key in clear text.
Stores the key as a type-7 encrypted password.
Specifies the pre-shared key for the local node.
Modification
This command is
introduced.
7 19:33:14.594 UTC
7 19:54:33.314 UTC
7 19:58:07.135 UTC
: kyr1
: 1
: peer1
: 10.0.0.1
: 255.255.255.0
: Configured
: Configured
Commands

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents