CLI Guide
set chap-record
show chap-records
show iscsi-parameters
show ports
create host
Description
Creates a host with an associated name.
You can use the create host command to create a host that groups together specified initiators, and
optionally to add the host to a host group. You can create a maximum of 512 hosts, each containing a
maximum of 128 initiators.
To create a single initiator, use the set initiator command.
Minimum role manage
Syntax
create host
[host-group host-group] [initiators initiators]
[profile standard]
name
Parameters
host-group host-group
Optional. The name of an existing host group to which to add the new host.
initiators initiators
A comma-separated list of initiator names, IDs, or both, with no spaces
For FC, the ID is a WWPN. For SAS, the ID is a WWPN. For iSCSI, the ID is an IQN. A WWPN can include a
colon between each byte but the colons will be discarded.
profile standard
Optional. Default profile.
name
A name for the host. Input rules:
• The value is case sensitive.
• The value can have a maximum of 32 bytes.
• The value can include spaces and printable UTF-8 characters except: " , . < \
• A value that includes a space must be enclosed in double quotes.
Examples Create host Host1 that includes two FC initiators
# create host initiators 10000090fa13870e,10000090fa13870f Host1
Create host Host2 that includes two iSCSI initiators.
# create host initiators iqn.1992-01.com.example:storage.host2.port1,
iqn.1992-01.com.example:storage.host2.port2 Host2
Create host Host4 by pasting a WWPN that includes colons.
# create host initiators 20:70:00:c0:ff:d7:4c:07 Host4
See also
set host
set initiator
show host-groups
show initiators
46 Alphabetical list of commands