Brocade Fabric OS Command Reference Manual - Supporting Fabric OS v5.3.0 (53-1000436-01, June 2007)

730 Fabric OS Command Reference Manual
53-1000436-01
zone
2
If a zone member is specified using <D,P> in the Admin Domain membership
list, all zone elements specified with WWNs hanging off of that <D,P> will be
considered for zone enforcement. If a device WWN is specified in the Admin
Domain member list, the corresponding <D,P> (in other words, the device the
specified WWN is hanging off of) will NOT be considered for zone
enforcement). Valid options for --validate are:
zone_object Specifies a zone object. A zone object can be a zone member, zone alias or a
zone.
-f mode If no mode options are given, the validated output of all the three buffers is
displayed. Valid mode flag values:
0 Uses the zone database from the current transaction buffer.
1 Uses the zone database stored in the persistent storage.
2 Uses the currently enforced zone database. This is the assumed default
mode flag value if no mode flag is specified.
Examples The following example shows a scenario of an invalid configuration. If you attempt to create a zone
z10 with an alias a10, then create a zone with name a10, z10 expects a10 to be an alias and
results in an invalid configuration.
To validate all zones in the currently enforced zone database:
switch:admin>zonecreate z10,a10
switch:admin>zonecreate a10, 1,2
switch:admin> zone --validate
Defined configuration:
zone: a10 1,2*
zone: z10 a10~
Effective configuration:
No Effective configuration: (No Access)
------------------------------------
~ - Invalid configuration
* - Member does not exist
# - Invalid usage of broadcast zone
The reason for not being in the current enforcement table could be one of the following:
The device is not online.
The device is online but is not Admin Domain-aware.
The device is online but it is not part of the current Admin Domain.
To copy all zone configurations from the root zone database (AD0) to the current Admin Domain:
switch:admin> zone --copy AD0
To copy cur_cfg1 zone configuration from the root zone database (AD0) to the current Admin
Domain:
switch:admin> zone --copy AD0.cur_cfg1
To copy backup_zn zone from the root zone database (AD0) to the current Admin Domain:
switch:admin> zone --copy AD0.backup_zn