Reference Guide

Brocade Fabric OS Command Reference 1153
53-1004112-02
zone
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 The device is not online.
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
Defined configuration:
cfg: t_r_a_f_f_i_c_i_s_o_c__fg
bluezone; greenzone
cfg: ticonfig
regzone
zone: bluezone
1,1*; 1,2*
zone: greenzone 1,1*; 20:01:00:05:1e:01:23:e0*
zone: regzone 1,4*; 1,5*
zone: t_r_a_f_f_i_c_i_s_o_prop__zn
1,3*; 2,3*
------------------------------------
~ - Invalid configuration
* - Member does not exist
# - Invalid usage of broadcast zone