Emulex OneCommand Manager Application User Manual (P006979-01A Version 5.2, August 2011)

The OneCommand Manager User Manual Page 224
Target_IP - IP address of the target portal
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)
AddTargetPortal
Supported by: Windows, Solaris, Linux and VMware ESX
Syntax:
hbacmd [h=host_IP[:port] | hostname[:port]] AddTargetPortal <MAC_Address>
<Target_IP> <Port> [ImmediateData=<0|1>] [HeaderDigest=<0|1>] [DataDigest=<0|1>]
[Auth=<0|1|2> "TgtCHAPName" "TgtSecret" "InitCHAPName" "InitSecret"]
Description: This command adds a new SendTarget Portal for the initiator and runs a target discovery
once the SendTarget Portal is created. This command requires that you specify a valid portal IP address
<Target_IP> and a valid port number <Port>. If you do not specify the remaining options, these options
are set to their default values. When you set the authentication method <Auth> to a value other than 0,
you must set additional parameters to specify the initiator CHAP name, target CHAP name, and initiator
and target secret strings. Each string should be enclosed in quotations to avoid mishandling by the
Windows, Linux, Solaris, or VMware shell's parser.
If you set the authentication method to "One-Way CHAP (value of 1)", you must also set the "Target
CHAP Name" and "Target Secret."
Note: If you set Auth to 1, you must also specify the TgtCHAPName and TgtSecret. If
you set Auth to a value of 2, you must also specify the TgtCHAPName, TgtSecret,
InitCHAPName, and InitSecret must also be specified.
Note: You must specify either the TSIH value or the ISID qualifier. If you specify ISID
qualifier you must also specify the Target’s ID address.