Brocade OS Command Reference Manual Supporting Fabric OS v6.0.0 (53-1000599-01, October 2007)

682 Fabric OS Command Reference
53-1000599-01
zone
2
--show name Displays zone name, portlists, failover option and status for the specified
zone(s). Without any specified name, this command will display all TI zones in
the defined configuration.
--help Displays command usage.
Examples 1. Specific Zone Operation commands:
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 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
To copy backup_zn zone from the root zone database (AD0) to the current Admin Domain, with
Admin Domain member list filtering:
switch:admin> zone --copy -f AD0.backup_zn
To delete all references associated with zone member 100,5:
switch:admin> zone --expunge “100,5
You are about to expunge one configuration
or member. This action could result in removing
many zoning configurations recursively.
[Removing the last member of a configuration removes the configuration.]
Do you want to expunge the member? (yes, y, no, n): [no] yes
To validate all zones in the zone database in the current transaction buffer:
switch:admin> zone --validate -m 0