Setinitiatorproperties – Dell Emulex Family of Adapters User Manual

Page 384

Advertising
background image

OneCommand Manager Command Line Interface Version 10.2 User Manual

P010067-01A Rev. A

5. CLI Client Command Descriptions

iSCSI Commands

384

SetInitiatorProperties

This command sets the initiator properties for the specified port. It allows you to

specify an initiator name <Initiator_Name> and an initiator alias <Initiator_Alias>. If

you opt not to specify these fields, a default iSCSI name is assigned.
Except for the <Initiator_Name> and <Initiator_Alias> properties, these properties are

set as the target portal’s login properties to be used when discovering the targets on the

target portal. The targets inherit the target portal's properties when they are

discovered. The discovered target's login properties can be changed using the

SetTargetProperties command.
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. Additionally,

these properties are used for iSNS target discovery to set the discovered target's login

properties.

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 SetInitiatorProperties 00-11-22-33-44-55 Auth=1

"TgtChapName" "TargetSecret1"

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

specify all four values. For example:

hbacmd SetInitiatorProperties 00-11-22-33-44-55 Auth=2

"TgtChapName" "TargetSecret1" "InitCHAPName" "InitialSecret1"

Supported By

Linux, Solaris, VMware ESXi, and Windows

Syntax

SetInitiatorProperties <MAC_Address> [Initiator_Name="initiator_name"]

[Initiator_Alias="initiator_alias"] [ImmediateData=<0|1>]

[HeaderDigest=<0|1>] [DataDigest=<0|1>] [Auth=<0|1|2> "TgtCHAPName"

"TgtSecret" "InitCHAPName" "InitSecret"]

TSIH

TSIH value of the session. The possible values are 1–65535.

ISID_Qual

Target_IP

ISID qualifier of the session. The possible values are 0–65535. You

can specify an IPv4 or IPv6 Target IP address that the target is using

depending on the adapter type.

0|1

Specifies the state of the BootProperty for the target:
0 = Disabled

1 = Enabled

Advertising