Key - Cisco MDS 9000 series Command Reference Manual

Hide thumbs Also See for MDS 9000 series:
Table of Contents

Advertisement

Chapter 13
K Commands
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m

key

To configure the preshared key for the IKE protocol, use the key command in IKE configuration
submode. To revert to the default, use the no form of the command.
Syntax Description
key-id
address ip-address
hostname name
Defaults
None.
Command Modes
IKE configuration submode.
Command History
Release
2.0(x)
3.0(1)
Usage Guidelines
To use this command, the IKE protocol must be enabled using the crypto ike enable command.
The key command supports only the IPv4 format for IP address.
Note
Examples
The following example shows how to configure the key.
switch# config terminal
switch(config)# crypto ike domain ipsec
switch(config-ike-ipsec)# key ctct address 10.10.100.231
The following example shows how to delete the configured key.
switch(config-ike-ipsec)# no key ctct address 10.10.100.231
The following example shows how to set the preshared key for the specified peer.
switch(config-ike-ipsec)# key sample hostname node1
The following example shows how to delete the preshared key for the specified peer.
switch(config-ike-ipsec)# no key sample hostname node1
OL-8413-07, Cisco MDS SAN-OS Release 3.x
key key-id {address ip-address | hostname name}
no key key-id {address ip-address | hostname name}
Specifies the ID for the preshared key. The maximum length is 128
characters.
Specifies the peer IP address. The format is A.B.C.D.
Specifies the peer host name. The maximum length is 128 characters.
Modification
This command was introduced.
Added the hostname keyword.
Cisco MDS 9000 Family Command Reference
key
13-5

Advertisement

Table of Contents
loading

Table of Contents