Sample Configuration
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
MDS-9216(config)# feature fcsp
Step 3
Configure a clear text password for this switch. This password will be used by the connecting device.
MDS-9216(config)# fcsp dhchap password rtp9216
Configures a password for another switch in the fabric that is identified by the switch WWN device
Step 4
name.
MDS-9216(config)# fcsp dhchap devicename 20:00:00:05:30:00:38:5e password rtp9509
Step 5
Enable the DHCHAP mode for the required Fibre Channel interface.
Whenever DHCHAP port mode is changed to a mode other than the Off mode, reauthentication is
Note
performed.
MDS-9216(config)# interface fc 1/16
MDS-9216(config-if)# fcsp on
Verify the protocol security information configured in this switch by displaying the DHCHAP local
Step 6
password database.
MDS-9216# show fcsp dhchap database
DHCHAP Local Password:
Other Devices' Passwords:
Display the DHCHAP configuration in the Fibre Channel interface.
Step 7
MDS-9216# show fcsp interface fc 1/6
fc1/6
Repeat these steps on the connecting MDS 9509 Switch.
Step 8
MDS-9509# show wwn switch
Switch WWN is 20:00:00:05:30:00:38:5e
MDS-9509(config)# feature fcsp
MDS-9509(config)# fcsp dhchap password rtp9509
MDS-9509(config)# fcsp dhchap devicename 20:00:00:05:30:00:54:de password rtp9216
MDS-9509(config)# interface fc 4/5
MDS-9509(config-if)# fcsp on
MDS-9509# show fcsp dhchap database
DHCHAP Local Password:
Other Devices' Passwords:
MDS-9509# show fcsp interface fc 4/5
Fc4/5
You have now enabled and configured DHCHAP authentication for the sample setup in
Cisco MDS 9000 Family CLI Configuration Guide
38-12
Non-device specific password:*******
Password for device with WWN:20:00:00:05:30:00:38:5e is *******
fcsp authentication mode:SEC_MODE_ON
Status:Successfully authenticated
Non-device specific password:*******
Password for device with WWN:20:00:00:05:30:00:54:de is *******
fcsp authentication mode:SEC_MODE_ON
Status:Successfully authenticated
Chapter 38
Configuring FC-SP and DHCHAP
Figure
OL-18084-01, Cisco MDS NX-OS Release 4.x
38-2.