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

218 Administering Advanced Zoning
switch:admin> zoneremove "zone1","3,5"
switch:admin> cfgtransabort To view all zone configuration information:
If you do not specify an operand when executing the cfgShow command to view zone configurations, all
zone configuration information (both defined and effective) displays. If there is an outstanding transaction,
the newly edited zone configuration that has not yet been saved is displayed. If there are no outstanding
transactions, the committed zone configuration displays.
1. Connect to the switch and log in as admin.
2. Issue the cfgShow command with no operands.
switch:admin> cfgshow
Defined configuration:
cfg: USA1 Blue_zone
cfg: USA_cfg Red_zone; Blue_zone
zone: Blue_zone
1,1; array1; 1,2; array2
zone: Red_zone
1,0; loop1
alias: array1 21:00:00:20:37:0c:76:8c; 21:00:00:20:37:0c:71:02
alias: array2 21:00:00:20:37:0c:76:22; 21:00:00:20:37:0c:76:28
alias: loop1 21:00:00:20:37:0c:76:85; 21:00:00:20:37:0c:71:df
Effective configuration:
cfg: USA_cfg
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 view selected zone configuration information:
1. Connect to the switch and log in as admin.
2. Issue the cfgShow command and specify a pattern.
cfgshow "pattern"[, mode]
where:
For example, to display all zone configurations that start with Test:
switch:admin> cfgshow "Test*"
cfg: Test1 Blue_zone
cfg: Test_cfg Red_zone; Blue_zone
To view a configuration in the effective zone database:
1. Connect to the switch and log in as admin.
2. Issue the cfgActvShow command.
switch:admin> cfgactvshow
Effective configuration:
cfg: NEW_cfg
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.