The OneCommand Utility User Manual
Page 195
SetTargetProperties
Supported by: Windows, Solaris SFS, Linux and VMware ESX Server
Syntax: hbacmd [h=host_IP[:port] | hostname[:port]] SetTargetProperties <MAC_Address>
<iscsi_target_name> <ETO>
Description: Sets the Extended TimeOut (ETO) value of a target. This command requires the iSCSI
target name <iscsi_target_name> and the Extended Timeout <ETO> values to be specified.
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
and Solaris, Linux and ESX: 0 - 30).
SetTPLoginProperties
Supported by: Windows, Solaris SFS, Linux and VMware ESX Server
Syntax: hbacmd [h=host_IP[:port] | hostname[:port]] SetTPLoginProperties <MAC_Address>
<Target_IP> <Port> [InitialR2T=<0|1>] [ImmediateData=<0|1>] [HeaderDigest=<0|1>]
[DataDigest=<0|1>] [Auth=<0|1|2> "TgtCHAPName" "TgtSecret" "InitCHAPName" "InitSecret"]
Description: Sets a target portal's login properties. This command requires that a valid Target IP
<Target_IP> and Port <Port> are specified. However, if no options other than the Target IP and Port are
specified, then no changes are made. You must change at least one of the optional parameters in order
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" 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 SetTPLoginProperties 00-11-22-33-44-55 10.192.1.1 5050 Auth=1
"TgtChapName" "TargetSecret1"
If the Authentication Method is set to "Mutual CHAP (value of 2)", all 4 values must be specified.
Example:
hbacmd SetTPLoginProperties 00-11-22-33-44-55 10.192.1.1 5050 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).
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).