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

Fabric OS Command Reference 97
53-1000599-01
defZone
2
defZone
Sets or displays the default zone access mode.
Synopsis defzone [--noaccess | --allaccess | --show]
Description Use this command to display or set the Default Zone access mode. Setting the Default Zone mode
will initialize a zoning transaction (if one is not already in progress), and create reserved zoning
objects.
A default zone controls device access when zoning is not enabled. When a user-specified zoning
configuration is not enabled, Default Zone is in effect, allowing access to all devices. When a
user-specified zone configuration is enabled, it overrides the Default Zone access mode.
Operands This command has the following operands:
--noaccess Sets the default zone access mode to No Access, initializes a zoning
transaction (if one is not already in progress), and creates the reserved
zoning objects equivalent to the following zoning commands:
cfgCreate “d_efault_Cfg”, “d_efault_Zone”
zoneCreate “d_efault_Zone”, “00:00:00:00:00:00:00:01”
A cfgSave, cfgEnable, or cfgDisable command must be issued after issuing
this command to commit the changes and distribute them to the fabric; for
example
:
primaryfcs:admin> defzone --noaccess
primaryfcs:admin> cfgsave
An audit log record will be generated for each use of this command.
When No Access default zone is activated, the following conditions apply:
If the current effective zone configuration is disabled with the cfgDisable
command, the local switch converts this command to the equivalent of
cfgEnable d_efault_Cfg.
If zoning receives a cfgDisable command from a remote switch that does
not support default zoning, zoning rejects the cfgDisable command in the
second phase of RCS because the remote switch does not convert the
cfgDisable command to cfgEnable d_efault_Cfg.
--allaccess Sets the default zone access mode to All Access, initiates a zoning
transaction (if one is not already in progress), and deletes the reserved
zoning objects by performing the equivalent to the following zoning
commands:
cfgDelete “d_efault_Cfg”
zoneDelete “d_efault_Zone”
A cfgSave, cfgEnable, or cfgDisable command must be performed
subsequent to the use of this command to commit the changes and
distribute them to the fabric. If a cfgSave is performed and the fabric is
already in the No Access default zone state, a cfgDisable is sent to the fabric.
For example
:
primaryfcs:admin> defzone --allaccess