HP StorageWorks Command View XP Command Line Interface (CLI) reference guide (B9357-96161, January 2006)
56 CLI commands for the XP128/XP1024/XP10000/XP12000
create host_group
Description This command creates host groups. Each port can have up to 128 (XP128/XP1024) or 256
(XP10000/XP12000) host groups. This command permits creating multiple host groups for multiple
ports in one operation. Each host group is specified by its nickname.
Syntax create host_group <portname...>, <hostgrpnickname...>
Arguments <portname...>
The port in which the host group is to be created. <portname> can be specified as one port, a
set of ports, or a range of ports (for example, 1A or 1A:1C:1D or 1A-1E). Port names must be
specified in truncated form (for example, 1A and not CL1-A) because the hyphen (-) is used to
specify a range.
<hostgrpnickname...>
The host group to be created. <hostgrpnickname> can be specified as one group nickname
or a set of group nicknames (for example, nick1 or nick1:nick3). If more than one port is
specified, then the specified host groups are added to all the ports.
Rules for Creating Host Groups
• You must enable LUN security before using this command (see ”modify lun_security” on
page 76).
• Each port can have a maximum of 128 host groups.
• The host group nickname must be unique for the port.
• The host group nickname and WWN nickname should not be the same for the port.
• The host group nickname is mandatory for a host group.
• The host group nickname has a maximum of 8 characters.
• Special characters (such as “ ¥ / : , ; * ? " < > | ” ) are not allowed in the nickname.
Example
create host_group 1A-1D:1F,nick1:nick2
create host_group 1F,nick1:nick2
create host_group 1A-1D:1F,nick1