HP StorageWorks Fabric OS 6.1.1 administrator guide (5697-0235, December 2009)

Fabric OS 6.1.1 administrator guide 209
Creating and maintaining zones
Reliable Commit Service (RCS) is a fabric-wide capability and is supported only if all switches in the fabric
are running Fabric OS 4.1 and later. RCS guarantees that either all or none of the switches receive the new
zone configuration. You should use RCS to secure a reliable propagation of the latest zone configuration. If
you use non-RCS mode, you must log in to every switch to monitor the status of the zone configuration.
To create a broadcast zone, use the reserved name broadcast. Do not give a regular zone the name of
broadcast. See ”Broadcast zones” on page 204 for additional information.
To create a zone:
1. Connect to the switch and log in as admin.
2. Issue the zoneCreate command with the following syntax:
zonecreate "zonename", "member[; member...]"
where:
To create a broadcast zone, use the reserved name broadcast.
3. Issue the cfgSave command to save the change to the defined configuration.
switch:admin> zonecreate "greenzone", "2,32; 2,33; 2,34; 4,4"
switch:admin> zonecreate "redzone", "21:00:00:20:37:0c:66:23; 4,3"
switch:admin> zonecreate "broadcast", "1,2; 2,33; 2,34"
switch:admin> cfgsave
You are about to save the Defined zoning configuration. This
action will only save the changes on the Defined configuration.
Any changes made on the Effective configuration will not
take effect until it is re-enabled.
Do you want to save Defined zoning configuration only? (yes, y, no, n): [no] y
To add devices (members) to a zone:
1. Connect to the switch and log in as admin.
2. Issue the zoneAdd command wit the following syntax:
zoneadd "zonename", "member[; member...]"
where:
3. Issue the cfgSave command to save the change to the defined configuration.
switch:admin> zoneadd "greenzone", "1,2"
switch:admin> zoneadd "redzone", "21:00:00:20:37:0c:72:51"
switch:admin> zoneadd "broadcast", "1,3"
switch:admin> cfgsave
zonename The name of the zone to be created.
member A member or list of members to be added to the zone. A zone member
can be specified by one or more of the following methods:
A domain,port pair.
Device node or device port WWN
Zone alias name
zonename The name of the zone.
member A member or list of members to be added to the zone. A zone member
can be specified by one or more of the following methods:
A domain,port pair.
Device node or device port WWN
Zone alias name