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
35-13
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 35 Configuring IPsec Network Security
Manually Configuring IPsec and IKE
A match is found when the two peers have the same encryption, hash algorithm, authentication
algorithm, and DH group values. If a match is found, IKE completes the security negotiation and the
IPsec SAs are created.
If an acceptable match is not found, IKE refuses negotiation and the IPsec data flows will not be
established.
Configuring an IKE Policy
To configure the IKE negotiation parameters, follow these steps:
Command
Purpose
Step 1
switch#
config terminal
switch(config)#
Enters configuration mode.
Step 2
switch(config)#
crypto ike domain ipsec
switch(config-ike-ipsec)#
Allows IPsec domains to be configured in this
switch.
Step 3
switch(config-ike-ipsec)#
identity address
Configures the identity mode for the IKE
protocol to use the IP address (default).
switch(config-ike-ipsec)#
identity hostname
Configures the identity mode for the IKE
protocol to use the fully-qualified domain
name (FQDN).
Note
The FQDN is required for using RSA
signatures for authentication.
switch(config-ike-ipsec)#
no identity
Revert to the default identity mode (
address
).
Step 4
switch(config-ike-ipsec)#
key switch1 address
10.10.1.1
Associates a preshared key with the IP address
of a peer.
switch(config-ike-ipsec)#
no key switch1
address 10.10.1.1
Deletes the association of a preshared key and
the IP address of a peer.
switch(config-ike-ipsec)#
key switch1 hostname
switch1.cisco.com
Associates a preshared key with the FQDN of
a peer.
Note
To use the FQDN, you must configure
the switch name and domain name on
the peer.
switch(config-ike-ipsec)#
no key switch1
hostname switch1.cisco.com
Deletes the association of a preshared key and
the IP address of a peer.
Step 5
switch(config-ike-ipsec)#
policy 1
switch(config-ike-ipsec-policy)#
Specifies the policy to configure.
switch(config-ike-ipsec)#
no policy 1
Deletes the specified policy.
Step 6
switch(config-ike-ipsec-policy)#
encryption des
Configures the encryption policy.
switch(config-ike-ipsec-policy)#
no encryption
des
Defaults to 3DES encryption.
Step 7
switch(config-ike-ipsec-policy)#
group 5
Configures the DH group.
switch(config-ike-ipsec-policy)#
no group 5
Defaults to DH group 1.
Step 8
switch(config-ike-ipsec-policy)#
hash md5
Configures the hash algorithm.
switch(config-ike-ipsec-policy)#
no hash md5
Defaults to SHA.