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

Fabric OS 6.1.1 administrator guide 219
zone: Blue_zone
1,1
21:00:00:20:37:0c:76:8c
21:00:00:20:37:0c:71:02
1,2
21:00:00:20:37:0c:76:22
21:00:00:20:37:0c:76:28
zone: Red_zone
1,0
21:00:00:20:37:0c:76:85
21:00:00:20:37:0c:71:df
To clear all zone configurations:
1. Connect to the switch and log in as admin.
2. Issue the cfgClear command to clear all zone information in the transaction buffer.
NOTE: Be careful using the cfgClear command; it deletes the defined configuration.
switch:admin> cfgclear
The Clear All action will clear all Aliases, Zones, FA Zones
and configurations in the Defined configuration.
cfgSave may be run to close the transaction or cfgTransAbort
may be run to cancel the transaction.
Do you really want to clear all configurations? (yes, y, no, n): (no)
3. Issue one of the following commands, depending on whether an effective zoning configuration exists:
If no effective zoning configuration exists, issue the cfgSave command.
If an effective zoning configuration exists, issue the cfgDisable command to disable and clear
the zone configuration in nonvolatile memory for all switches in the fabric.
Maintaining zone objects
Although you can delete a zone configuration, there is a quicker and easier way to perform the same task
with the zone object commands (zoneObjectExpunge, zoneObjectCopy, and
zoneObjectRename). You can also copy and rename zone objects. When you copy a zone object, the
resulting object has the same type as the original. Deleting a zone object also removes the object from any
member lists of other objects. You can rename objects for all zone object types.
To copy a zone object:
1. Connect to the switch and log in as admin.
2. Issue the cfgShow command to view the zone configuration objects you want to copy.
cfgshow "pattern"[, mode]
where:
For example, to display all zone configuration objects that start with Test:
switch:admin> cfgshow "Test*"
cfg: Test1 Blue_zone
pattern A POSIX-style regular expression used to match zone configuration names.
mode Specify 0 to display the contents of the transaction buffer (the contents of
the current transaction), or specify 1 to display the contents of the
nonvolatile memory. The default value is 0.