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

Fabric OS 6.1.1 administrator guide 211
3. Issue the cfgSave command to save the change to the defined configuration.
switch:admin> zonedelete "redzone"
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 view a zone in the defined configuration:
1. Connect to the switch and log in as admin.
2. Issue the zoneShow command with the following syntax:
zoneshow "pattern"[, mode]
The values represent the following:
The following example shows all zones beginning with A, B, or C:
switch:admin> zoneshow "[A-C]*"
zone: Blue_zone 1,1; array1; 1,2; array2
zone: Bobs_zone 4,5; 4,6; 4,7; 4,8; 4,9
If no parameters are specified, the entire zone database (both the defined and effective
configuration) is displayed.
To validate a zone:
1. Connect to the switch and log in as admin.
2. Issue the cfgShow command to view the zone configuration objects you want to validate:
switch:admin> cfgShow
Defined configuration:
cfg: USA_cfg Purple_zone; White_zzone; Blue_zone
zone: Blue_zone
1,1; array1; 1,2; array2
zone: Purple_zone
1,0; loop1
zone; White_zone
1,3; 1,4
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
3. Issue the zone --validate command to list all zone members that are not part of the current zone
enforcement table. Note that zone configuration names are case sensitive; blank spaces are ignored.
switch:admin> zone --validate “White_zone”
pattern A POSIX-style regular expression used to match zone 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.