Script Commands 195
Parameters
NOTE: When you use this command, you can specify one or more of the optional
parameters. You do not, however, need to use all of the parameters.
NOTE: You can use any combination of alphanumeric characters, hyphens, and
underscores for the names. Command names can have a maximum of 30
characters. If you exceed the maximum character limit, replace square brackets
([ ]) with angle brackets (< >) to overcome this limitation.
Set iSCSI Initiator
This command sets the attributes for an iSCSI initiator.
Syntax
set iscsiInitiator [“iscsiID“]|
userLabel=”newName” |
host=”newHostName” |
chapSecret=”newSecurityKey”
Parameters
Parameter Description
hostPort The name of the HBA host port for which you want to change the
host type, or for which you want to create a new name. Enclose the
HBA host port name in square brackets ([ ]). If the HBA host port
label has special characters, enclose the HBA host port label in
double quotation marks (" ").
host The name of the host to which the HBA host port is connected.
Enclose the host name in double quotation marks (" ").
userLabel The new name that you want to give to the HBA host port. Enclose
the new name of the HBA host port in double quotation marks (" ").
Parameter Description
iscsiID The name of the iSCSI initiator for which you want to set attributes.
userLabel The new name that you want to use for the iSCSI initiator.
host The name of the new host to which the HBA host port is connected.
Enclose the host name in double quotation marks (" ").
book.book Page 195 Friday, March 4, 2011 10:45 AM