
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
1-6
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Configuring FC-SP and DHCHAP
DHCHAP
About the DHCHAP Hash Algorithm
Cisco SAN switches support a default hash algorithm priority list of MD5 followed by SHA-1 for
DHCHAP authentication.
Tip
If you change the hash algorithm configuration, then change it globally for all switches in the fabric.
Caution
RADIUS and protocols always use MD5 for CHAP authentication. Using SHA-1 as the hash
algorithm may prevent RADIUS and usage, even if these AAA protocols are enabled for
DHCHAP authentication.
Configuring the DHCHAP Hash Algorithm
To configure the hash algorithm, perform this task:
About the DHCHAP Group Settings
All Cisco Nexus 5000 Series switches support all DHCHAP groups specified in the standard: 0 (null DH
group, which does not perform the Diffie-Hellman exchange), 1, 2, 3, or 4.
Tip
If you change the DH group configuration, change it globally for all switches in the fabric.
Configuring the DHCHAP Group Settings
To change the DH group settings, perform this task:
Command
Purpose
Step 1
switch#
configuration terminal
Enters configuration mode.
Step 2
switch(config)#
fcsp dhchap hash
[md5] [sha1]
Configures the use of the the MD5 or SHA-1 hash
algorithm.
switch(config)#
no fcsp dhchap hash
sha1
Reverts to the factory default priority list of the MD5
hash algorithm followed by the SHA-1 hash algorithm.
Command
Purpose
Step 1
switch#
configuration terminal
Enters configuration mode.
Step 2
switch(config)#
fcsp dhchap
dhgroup
[
0
|
1
|
2
|
3
|
4
]
Prioritizes the use of DH groups in the configured order.
switch(config)#
no fcsp dhchap
dhgroup
[
0
|
1
|
2
|
3
|
4
]
Reverts to the DHCHAP factory default order of 0, 4, 1, 2, and 3.