Deployment Guide

Fabric OS Command Reference 1211
53-1003131-01
zoneAdd
2
zoneAdd
Adds a member to the zone.
SYNOPSIS zoneadd "zoneName", "member[;member...]"
DESCRIPTION Use this command to add one or more members to an existing zone.
This command changes the defined configuration. For the change to be preserved across switch
reboots, save the configuration to nonvolatile memory with the cfgSave command. For the change to
become effective, enable the configuration with the cfgEnable command.
NOTES The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.
When an FCS policy is enabled, this command can be issued only from the primary FCS switch.
OPERANDS The following operands are required:
"zoneName"
Specify the name of an existing zone. Double quotation marks are optional.
"member"
Specify a member or list of members to be added. The list must be enclosed in
double quotation marks. Members must be separated by semicolons. Members
can be specified in one or more of the following ways:
A switch domain and port index number pair; for example, "2, 20". Use
switchShow for a listing of valid port index numbers.
Node or port WWN.
Zone alias name.
Zone alias pattern. Use a pattern preceded by the wildcard symbol asterisk
(*) to include members in the zone that matches the pattern.
EXAMPLES To add aliases for three disk arrays to "Blue_zone":
switch:admin> zoneadd "Blue_Zone", "array3; array4; array5"
To add aliases for all the arrays that matches a pattern:
switch:admin> zoneadd matt, "ze*;bond*; j*"
switch:admin> cfgshow
Defined configuration:
zone: matt 30:06:00:07:1e:a2:10:20; 3,2; zeus; \
bond; jake; jeff; jones
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
alias: bru 5,3; 12,4
alias: geek 2,7; 4,11; 20:10:00:05:1e:a9:20:87
alias: jake 4,7; 8,9; 14,11
alias: jeff 30:00:00:05:1e:a1:cd:02; \
40:00:00:05:1e:a1:cd:04