Reference Guide
1154 Brocade Fabric OS Command Reference
53-1004112-02
zone
To validate all zones in the zone database in the persistent storage (defined configuration):
switch:admin> zone --validate -m 1
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
To validate all zones in the zone database in the effective configuration:
switch:admin> zone --validate -m 2
Effective configuration:
cfg: ticonfig
zone: regzone 1,4*
1,5*
------------------------------------
~ - Invalid configuration
* - Member does not exist
# - Invalid usage of broadcast zone
To prune all the zone members that are not enforceable:
switch:admin> zone --validate -f
You are about to prune the zone configurations,
based on zone --validate output.
Do you want to prune the zone
configurations (yes, y, no, n): [no] y
To validate the zone members beginning with "gre", regardless of the case:
switch:admin> zone --validate -i gre*
Defined configuration:
zone: GREEN 44,4; 21:00:00:20:37:0c:71:02; 8,9
zone: green 2,2*; 2,3*; 21:00:00:20:37:0c:76:8c*
Effective configuration:
zone: green 2,2*
2,3*
21:00:00:20:37:0c:76:8c*
------------------------------------
~ - Invalid configuration
* - Member does not exist
# - Invalid usage of broadcast zone