HP Storage Essentials V5.00.01 CLI guide (T4283-96015, January 2006)

CLI Commands72
<fabric id> is the fabric identifier. The fabric identifier can be obtained from several
methods, such as from the appiqlist -fabric -all command.
<zonealias id> is the zone alias identifier. The zone alias identifier can be obtained from
several methods, such as from the appiqlist -zone <zone id> -zonealias command.
Description: Creates a zone within the specified fabric and containing the specified zone alias.
Use the appiqadd -zone <zone id> -port <port id> command to add the port identifier
for a storage system or host. Spaces and dashes are not supported within the zone name for
McDATA and Brocade switches.
Naming Conventions for Brocade Switches:
The name must contain 1 to 64 characters.
The name must begin with a letter. Any character other than the first character can be a letter, a
number (0 to 9), or an underscore (_).
The name is case sensitive. For example, "Zone1" and "zone1" are different zones.
You cannot create a zone with the same name as an existing zone, zone alias or zone set. For
example, if you create a zone named “new”, you cannot give a zone, zone alias, or zone set the
same name.
The following characters are invalid for Brocade switches: caret (^), dash (-), and dollar sign ($).
Naming Conventions for McDATA and Connectrix Switches:
The name can have a maximum of 64 characters.
The first character of a zone name must be a letter (A-Z, AZ).
A zone name cannot contain spaces.
Valid characters are a-a, AA, 0-9, caret (^), dash ( -), underscore ( _), and dollar sign ($).
All names must be unique and may not differ by case. For example, myzone and MyZone are
considered to be the same zone.
appiqcreate –zone <zonename> -fabric <fabric id>
-zonealias <zonealias id> -port <port id>
where
<zone name> is the name of the zone. Make sure you do not have a zone with the same name
by entering the appiqlist -fabric <fabric id> -zone command.
<fabric id> is the fabric identifier. The fabric identifier can be obtained from several
methods, such as from the appiqlist -fabric -all command.
<zonealias id> is the zone alias identifier. The zone alias identifier can be obtained from
several methods, such as from the appiqlist -zone <zone id> -zonealias command.
<port id> is the port identifier for a host or a storage system. The port identifier for a host can
be obtained from the appiqlist -device -host <id> -port command and the port
identifier for a storage system can be obtained from the appiqlist -device
-storagesystem <storage system id> -port command.
Description: Creates a zone within the specified fabric and containing the specified zone alias. If
you used the port identifier of a host when you created the zone, use the appiqadd -zone