HP 3PAR OS 3.1.3 Command Line Interface Reference

-ip <IP_address>
Specifies the IP address of the host.
-os <OS>
Specifies the operating system running on the host.
-model <model>
Specifies the model of the host.
-contact <contact>
Specifies the contact information for the host.
-comment <comment>
Specifies any additional information for the host.
-name <hostname>
Specifies the new name of the host up to 31 characters in length.
-persona <hostpersonaval>
Sets the host persona that specifies the personality for all ports which are part of the host set. This
selects certain variations in SCSI command behavior which certain operating systems expect. The
<hostpersonaval> is the host persona ID number with the desired capabilities. These can be
seen with showhost -listpersona.
The following options are for use with the initchap and targetchap subcommands:
-f
Do not ask for confirmation before performing the operation.
-chapname <chapname>
Used to specify the initiator or target CHAP name. If this option is not specified, then the initiator
CHAP name defaults to the host name and the target CHAP name defaults to the HP 3PAR system
name.
-hex
The CHAP secret is treated as a hex number.
The following options are for use with the removechap subcommand:
-target
Removes only the target CHAP authentication.
SPECIFIERS
<host_name>
Name of the host with a maximum of 31 characters in length.
<pattern>
Specifies that the properties are set for all hosts matching the specified pattern.
<secret>
The CHAP secret for the host or the target. If -hex is specified, it is treated as a hex number.
Otherwise it should be a printable ASCII string 12 to 16 characters in length with no spaces, or
16 bytes in HEX.
NOTE: The CHAP configuration operations are applied to all hosts whose names match one or
more of the specified <hostname> or <pattern>. Refer to “Glob-Style Pattern” (page 12) for further
information.
<WWN|iSCSI_name>
sethost 285