The OneCommand Utility User Manual
Page 203
GetInitiatorProperties
Supported by: Windows, Solaris SFS, Linux and VMware ESX Server
Syntax: hbacmd [h=host_IP[:port] | hostname[:port]] GetInitiatorProperties <MAC_Address>
Description: Shows all the initiator login options for the specified port.
Parameters:
MAC_Address - MAC address of the CNA port.
SetInitiatorProperties
Supported by: Windows, Solaris SFS, Linux and VMware ESX Server
Syntax: hbacmd [h=host_IP[:port] | hostname[:port]] SetInitiatorProperties <MAC_Address>
[Initiator_Name="initiator_name"] [Initiator_Alias="initiator_alias"] [InitialR2T=<0|1>]
[ImmediateData=<0|1>] [HeaderDigest=<0|1>] [DataDigest=<0|1>] [Auth=<0|1|2> "TgtCHAPName"
"TgtSecret" "InitCHAPName" "InitSecret"]
Description: Sets the initiator properties for a specified port. This command allows for an initiator name
<Initiator_Name> and an initiator alias <Initiator_Alias> to be specified. If you opt not to specify these
fields, a default iSCSI name is assigned. When you set Authentication Method <Auth> to a value other
than "0" additional parameters must be set to specify the initiator, target CHAP name, and secret strings.
These strings should be enclosed in quotations to avoid mangling by the Windows, Linux, Solaris, or
VMware shell's parser.
If the Authentication Method is set to "One-Way CHAP (value of 1)", the "Target CHAP Name" and
"Target Secret" must also be specified.
Example:
hbacmd SetInitiatorProperties 00-11-22-33-44-55 Auth=1 "TgtChapName" "TargetSecret1"
If the Authentication Method is set to "Mutual CHAP (value of 2)", all 4 values must be specified.
Example:
hbacmd SetInitiatorProperties 00-11-22-33-44-55 Auth=2 "TgtChapName"
"TargetSecret1" "InitCHAPName" "InitialSecret1"
Parameters:
MAC_Address - MAC address of the CNA port.
Initiator_Name - Initiator iSCSI Name enclosed in quotes (string length: 1-224).
Initiator_Alias - Initiator iSCSI Alias enclosed in quotes (string length: 0-32).
InitialR2T - 0 = No, 1 = Yes (default: 1).
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).