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

OneCommand Manager Command Line Interface User Manual Page 61
TgtSecret - Target Secret enclosed in quotes (string length: 12-16)
InitCHAPName - Initiator CHAP name enclosed in quotes (string length: 1-255)
InitSecret - Initiator Secret enclosed in quotes (string length: 12-16)
SetTargetProperties
Supported by: Windows, Solaris, Linux and VMware ESX
Syntax:
hbacmd [h=host_IP[:port] | hostname[:port]] SetTargetProperties <MAC_Address>
<iscsi_target_name> <ETO>
Description: This command sets the Extended TimeOut (ETO) value of a target. This command
requires you specify the iSCSI target name <iscsi_target_name> and the Extended Timeout <ETO>
values.
Parameters:
MAC_Address - MAC address of the CNA port
iscsi_target_name - Target’s iSCSI name enclosed in quotes (string length:11-255)
ETO - Extended Timeout Option for the target (value differs depending on the OS):
Windows: 0 - 3600
Solaris, Linux and ESX: 0 - 30
SetTPLoginProperties
Supported by: Windows, Solaris, Linux and VMware ESX
Syntax:
hbacmd [h=host_IP[:port] | hostname[:port]] SetTPLoginProperties <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 sets a target portal's login properties. This command requires that you
specify a valid Target IP <Target_IP> and Port <Port>. However, if you specify no options other than
the Target IP and Port, no changes are made. You must change at least one of the optional parameters
for this command to make any changes to the target portal's login properties. 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.
These properties are used when discovering the targets on the target portal. The targets inherit the
target portal's properties when they are discovered. Targets already discovered do not inherit the
updated properties, only newly discovered targets inherit the properties.
Note: If you set Auth is set to 1, you must specify the TgtCHAPName and TgtSecret.
If you set Auth to a value of 2, you must specify the TgtCHAPName, TgtSecret,
InitCHAPName, and InitSecret.