Q-Logic 16-Feb Switch User Manual


 
B – Command Line Interface
Zone Command
B-72 59021-04 C
Q
Zone Command
Manages zones and zone membership on a switch. The Zone command defines
members (ports and devices) for a single switch. Zones are members of zone
sets.
Authority Admin authority and a Zoning Edit session. Refer to the Zoning Command on
page B-79 for information about starting a Zoning Edit session. The List,
Members, and Zonesets keywords are available with User authority and do not
require a Zoning Edit session.
Syntax zone
add [zone] [members]
copy [zone_source] [zone_destination]
create [zone]
del
ete [zone]
list
members [zone]
remove [zone] [members]
rename [zone_old [zone_new]
type [zone] [zone_type]
zonesets [zone]
Keywords add [zone] [members]
Specifies one or more ports given by [members] to add to the zone named [zone].
A zone can have a maximum of 256 members. [members] can have one of the
following formats:
Domain ID and port number pair (Domain ID, Port Number). Domain IDs and
port numbers are in decimal. Ports are numbered beginning with 0.
6-character hexadecimal device Fibre Channel address (hex)
16-character hexadecimal worldwide port name (WWPN) with the format
xx:xx:xx:xx:xx:xx:xx:xx.
Alias name
The application verifies that the [zone] format is correct, but does not validate that
such a port exists.
copy [zone_source] [zone_destination]
Creates a new zone named [zone_destination] and copies the membership into it
from the zone given by [zone_source].
create [zone]
Creates a zone with the name given by [zone]. An zone name must begin with a
letter and be no longer than 64 characters. Valid characters are 0-9, A-Z, a-z, &, _,
and -. The zoning database supports a maximum of 256 zones.