User's Guide

The OneCommand Manager User Manual Page 229
Parameters:
MAC_Address - MAC address of the CNA port
Port - Port number of the target portal (value: 1024-65535)
iscsi_target_name - Target’s iSCSI name enclosed in quotes (string length:11-255)
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"]
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.