Emulex OneCommand Manager Command Line Interface User Manual (P006980-01A Version 5.2, August 2011)

OneCommand Manager Command Line Interface User Manual Page 53
Example:
hbacmd AddTargetPortal 00-11-22-33-44-55 10.0.0.1 8000 Auth=1 "TgtCHAPName"
"TargetSecret1"
If you set the authentication method to "Mutual CHAP (value of 2)", You must specify all 4 values.
Example:
hbacmd AddTargetPortal 00-11-22-33-44-55 10.0.0.1 8000 Auth=2 "TgtChapName"
"TargetSecret1" "InitCHAPName" "InitialSecret1"
Parameters:
MAC_Address - MAC address of the CNA port
Target_IP - IP address of the target portal
Port - Port number of the target portal (value: 1024-65535)
ImmediateData -
0 = No
1 = Yes (default: 1)
HeaderDigest -
0 = None
1= CRC32C (default: 0)
DataDigest -
0 = None
1= CRC32C (default: 0)
Auth -
0 = None
1= One-Way CHAP
2 = Mutual CHAP (default: 0)
TgtCHAPName - Target CHAP name enclosed in quotes (string length: 1-256)
TgtSecret - Target Secret enclosed in quotes (string length: 12-16)
InitCHAPName - Initiator CHAP name enclosed in quotes (string length: 1-256)
InitSecret - Initiator Secret enclosed in quotes (string length: 12-16)
Note: If Auth is set to 1, the TgtCHAPName and TgtSecret must be specified. If Auth
is set to a value of 2, the TgtCHAPName, TgtSecret, InitCHAPName, and InitSecret
must also be specified.