Settargetloginproperties – Dell Emulex Family of Adapters User Manual

Page 387

Advertising
background image

OneCommand Manager Command Line Interface Version 10.2 User Manual

P010067-01A Rev. A

5. CLI Client Command Descriptions

iSCSI Commands

387

Notes

VLAN_ID and Priority are required only if VLAN_ENABLED is enabled;

otherwise, these values should be omitted.

IPv4_Address and Subnet are required only if DHCP is disabled; otherwise

these values should be omitted.

At a minimum, the DHCP or AA parameter must be specified and, if required,

their associated parameters as well. If either the DHCP or AA parameter is not

specified an error results.

SetTargetLoginProperties

This command sets the login and authentication properties associated with a specific

target. This command requires that you specify a valid iSCSI target name

<iscsi_target_name>. If you do not specify some of the remaining properties, these

options are set to their default values. However, if no properties are changed, an error

is generated. You must change at least one property for this command to return

successfully.
When you set the authentication method <Auth> to a value other than 0, you must set

additional parameters. 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” (<Auth>=1), you

must also specify the “Target CHAP Name” and “Target Secret.” For example:

hbacmd SetTargetLoginProperties 00-11-22-33-44-55 iscsitarget

Auth=1 "TgtCHAPName" "TargetSecret1"

If you set the authentication method to “Mutual CHAP” (<Auth>=2), you must

specify all four values. For example:

hbacmd SetTargetLoginProperties 00-11-22-33-44-55 iscsitarget

Auth=2 "TgtChapName" "TargetSecret1" "InitCHAPName"

"InitialSecret1"

Supported By

Linux, Solaris, VMware ESXi, and Windows

Syntax

SetTargetLoginProperties <MAC_Address> <iscsi_target_name>

[ImmediateData=<0|1>] [HeaderDigest=<0|1>] [DataDigest=<0|1>]

[Auth=<0|1|2> "TgtCHAPName" "TgtSecret" "InitCHAPName" "InitSecret"]

Parameters

MAC_Address

The MAC address of an iSCSI port.

iscsi_target_name

Target’s iSCSI name enclosed in quotes (string length: 11–255).

ImmediateData

0 = No
1 = Yes (default)

HeaderDigest

0 = None (default)
1 = CRC32C

Advertising