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

212 Administering Advanced Zoning
4. Issue the following command to validate all zones in the zone database in the defined configuration:
switch:admin> sw5:root> zone --validate -m 1
Defined configuration:
cfg: cfg1 zone1
cfg: cfg2 zone1; zone2
zone: zone1 1,1; ali1
zone: zone2 1,1; ali2
alias: ali1 10:00;00;05:1e:35:81:7f*; 10:00:00:05:1e:35:81:7d*
alias: ali2 10:00:00:05:1e:35:81:09*; 10:00:00:05:1e:35:81:88*
-------------------------------------
~ - Invalid configuration
* - Member does not exist
The mode flag -m can be used to specify the zone database location. Supported mode flag values
are:
0 - zone database from the current transaction buffer
1 - zone database stored from the persistent storage
2 - currently effective zone database
If no mode options are given, the validated output of all three buffers is shown.
If the -f option is specified, all the zone members that are not enforceable would be expunged in the
transaction buffer. This pruning operation always happens on the transaction and defined buffers.
You cannot specify a mode option or specify a zone object as an argument with the -f option. This
mode should be used after the zone has been validated.
For more details about the zone, cfgShow, cfgEnable, and cfgSave commands, see the Fabric OS
Command Reference.
Default zoning mode
The default zoning mode controls device access if zoning is not implemented or if there is no effective zone
configuration. The default zoning mode has two options:
All Access—All devices within the fabric can communicate with all other devices.
No Access—Devices in the fabric cannot access any other device in the fabric.
The default zone mode applies to the entire fabric, regardless of switch model.
Typically, when you disable the zoning configuration in a large fabric with thousands of devices, the name
server indicates to all hosts that they can communicate with each other. In fact, each host can receive an
enormous list of PIDs, and ultimately cause other hosts to run out of memory or crash. To ensure that all
devices in a fabric do not see each other during configuration disable operation, set the default zoning
mode to No Access.
NOTE: If you want to use Admin Domains, you must set the default zoning mode to No Access prior to
setting up the Admin Domains. You cannot change the default zoning mode to All Access if user-specified
Admin Domains are present in the fabric.
Setting the default zoning mode
1. Connect to the switch and log in as admin.
2. Issue the cfgActvShow command to view the current zone configuration.
3. Issue the defZone command with one of the following options: command:
defzone --noaccess
defzone --allaccess
This command initiates a transaction (if one is not already in progress)