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
8-49
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco MDS NX-OS Release 4.x
Chapter 8 F Commands
fcsp dhchap
Examples
The following example enables FC-SP.
switch
#
#
config terminal
switch(config)# #
fcsp enable
switch (config)#
The following example configures the use of only the SHA-1 hash algorithm.
switch(config)#
fcsp dhchap hash sha1
The following example configures the use of only the MD-5 hash algorithm.
switch(config)#
fcsp dhchap hash md5
The following example defines the use of the default hash algorithm priority list of MD-5 followed by
SHA-1 for DHCHAP authentication.
switch(config)#
fcsp dhchap hash md5 sha1
The following example reverts to the factory default priority list of the MD-5 hash algorithm followed
by the SHA-1 hash algorithm.
switch(config)#
no fcsp dhchap hash sha1
The following example prioritizes the use of DH group 2, 3, and 4 in the configured order.
switch(config)#
fcsp dhchap group 2 3 4
The following example reverts to the DHCHAP factory default order of 0, 4, 1, 2, and 3 respectively.
switch(config)#
no fcsp dhchap group 0
The following example configures a clear text password for the local switch.
switch(config)#
fcsp dhchap password 0 mypassword
The following example configures a clear text password for the local switch to be used for the device
with the specified WWN.
switch(config)#
fcsp dhchap password 0 mypassword 30:11:bb:cc:dd:33:11:22
The following example removes the clear text password for the local switch to be used for the device
with the specified WWN.
switch(config)#
no fcsp dhchap password 0 mypassword 30:11:bb:cc:dd:33:11:22
The following example configures a password entered in an encrypted format for the local switch.
switch(config)#
fcsp dhchap password 7 sfsfdf
The following example configures a password entered in an encrypted format for the local switch to be
used for the device with the specified WWN.
switch(config)#
fcsp dhchap password 7 sfsfdf 29:11:bb:cc:dd:33:11:22
The following example removes the password entered in an encrypted format for the local switch to be
used for the device with the specified WWN.
switch(config)#
no fcsp dhchap password 7 sfsfdf 29:11:bb:cc:dd:33:11:22
The following example configures a clear text password for the local switch to be used with any
connecting device.
switch(config)#
fcsp dhchap password mypassword1