HP StorageWorks Fabric OS 6.2 administrator guide (5697-0016, May 2009)

Fabric OS 6.2 administrator guide 259
21:00:00:20:37:0c:76:85
21:00:00:20:37:0c:71:df
Clearing all zone configurations
1. Connect to the switch and log in as admin.
2. Enter the cfgClear command to clear all zone information in the transaction buffer.
CAUTION: Be careful using the cfgClear command because 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. Enter one of the following commands, depending on whether an effective zoning configuration exists:
If no effective zoning configuration exists, enter the cfgSave command.
If an effective zoning configuration exists, enter the cfgDisable command to disable and clear
the zone configuration in nonvolatile memory for all switches in the fabric.
Zone object maintenance
The following procedures describe how to copy, delete, and rename zone objects. Depending on the
operation, a zone object can be a zone member, a zone alias, a zone, or a zone configuration.
Copying a zone object
When you copy a zone object, the resulting object has the same name as the original. The zone object
can be a zone configuration, a zone alias, or a zone.
1. Connect to the switch and log in as admin.
2. Enter 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
cfg: Test_cfg Purple_zone; Blue_zone
3. Enter the zone
--copy command, specifying the zone objects you want to copy, along with the new
object name. Note that zone configuration names are case-sensitive; blank spaces are ignored and the
command works in any Admin Domain other than AD255.
switch:admin> zone --copy Test1 US_Test1
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.