![Cisco MDS 9000 Series Command Reference Manual Download Page 608](http://html.mh-extra.com/html/cisco/mds-9000-series/mds-9000-series_command-reference-manual_21253608.webp)
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
11-2
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco MDS NX-OS Release 4.x
Chapter 11 I Commands
identity
identity
To configure the identity for the IKE protocol, use the
identity
command in IKE configuration submode.
To delete the identity, use the
no
form of the command.
identity {address
|
hostname
}
no identity {address
|
hostname}
Syntax Description
Defaults
None.
Command Modes
IKE configuration submode.
Command History
Usage Guidelines
To use this command, the IKE protocol must be enabled using the
crypto ike enable
command.
Before configuring a certificate for the switch, configure the host name and domain name, and set the
identity to be the host name. This allows the certificate to be used for authentication.
Note
The host name is the fully qualified domain name (FQDN) of the switch. To use the switch FQDN for
the IKE identity, you must first configure both the switch name and the domain name. The FQDN is
required for using RSA signatures for authentication.
Examples
The following example shows how to set the IKE identity to the IP address of the switch:
switch#
config terminal
switch(config)#
crypto ike domain ipsec
switch(config-ike-ipsec)#
identity address 209.165.200.226
The following example shows how to delete the IKE identity:
switch(config-ike-ipsec)#
no identity 209.165.200.226
The following example shows how to set the IKE identity to the host name:
switch(config-ike-ipsec)#
identity hostname node1
The following example shows how to delete the IKE identity:
switch(config-ike-ipsec)#
no identity hostname node1
address
Sets the IKE identity to be the IPv4 address of the switch.
hostname
Sets the IKE identity to be the host name of the switch.
Release
Modification
3.0(1)
This command was introduced.