Reference Guide
1162 Brocade Fabric OS Command Reference
53-1004112-02
zoneCreate
A member can be specified in one or more of the following ways:
• Domain and port index pair: Specify a port by domain and port index, for example, "2,
20" specifies port index 20 on switch domain 2. When a zone member is specified by
port index, all devices connected to that port are in the zone. If this port is an arbitrated
loop, then all devices on the loop are in the zone. Use switchShow for a list of valid port
index numbers.
• World wide name: Specify a world wide name as eight hex numbers separated by
colons, for example "10:00:00:60:69:00:00:8a". Zoning compares the WWN with the
node and port names presented by a device in a login frame (FLOGI or PLOGI). When
a zone member is specified by node name, then all ports on that device are in the zone.
When a zone member is specified by port name, then only that single device port is in
the zone.
• Zone alias name: Specify a zone alias name using the same format as a zone name.
Refer to aliCreate command help for zone alias naming requirements.
• Zone alias pattern: Use a pattern preceded by the wildcard symbol asterisk (*) to
include members in the zone that matches the pattern.
--peerzone "zoneName"
Creates a new Peer Zone.
-principal "principal"
Specify a principal or list of principal members to be included in the Peer Zone. The list
must be enclosed in double quotation marks. Principal members must be separated by
semicolons. You can specify either a WWN or D, I; zone alias is not a valid principal
member.
-members "member"
Specify a member or list of members to be included in the Peer Zone. You can specify
either a WWN or D, I; zone alias is not a valid member. This operand is optional.
When creating a zone, you can combine different ways of specifying zone members. For example, a zone defined
with the following members: "2,12; 2,14; 10:00:00:60:69:00:00:8a" contains all devices connected to switch 2,
ports 12 and 14, and to the device with the world wide name "10:00:00:60:69:00:00:8a" (either node name or port
name), at the port in the fabric to which it is connected.
Examples To create three zones using a combination of port numbers and zone aliases:
switch:admin> zonecreate "Purple_zone", "1,0"
switch:admin> zonecreate "Blue_zone", "1,1; array1; 1,2; array2"
switch:admin> zonecreate "Green_zone", "1,0; 1,2; array2"
To create zone with the specified zone alias and to include the members that matches a pattern:
switch:admin> zonecreate sloth, "b*; 10:00:00:00:01:1e:20:20"
switch:admin> cfgshow
Defined configuration:
zone: matt 30:06:00:07:1e:a2:10:20; 3,2
zone: sloth bawn; bolt; bond; brain; brit; \
bru; 10:00:00:00:01:1e:20:20
alias: bawn 3,5; 4,8
alias: bolt 10:00:00:02:1f:02:00:01
alias: bond 10:00:05:1e:a9:20:00:01; 3,5
alias: brain 11,4; 22,1; 33,6
alias: brit 12,1