Brocade Fabric OS Command Reference Manual Supporting Fabric OS v7.0.0 (April 2011)

Fabric OS Command Reference 1059
53-1001764-01
zone
22
1. Commands for performing specific zone operations
--copy
Copies a specified zone object or all zone objects from the source_AD into the
current AD. The current AD transaction buffer is used for this operation. The
following operands are optional:
source_AD
Specifies the source Admin Domain of the zone objects. If unspecified, objects are
copied within the current AD.
source_zone_object
Specifies the zone object under the source_AD. The zone object can be a zone
configuration, a zone alias, or several zones. If a source zone object is not
specified, all zone configurations are copied over to the current Admin Domain.
dest_zone_object
Identifies the destination zone object within the current Admin Domain. If
dest_zone_object is not specified, source_zone_object is copied over with the
same name. If the destination zone object is not already present in the Admin
Domain, one is created (with type as source_zone_object).
-f
Overwrites existing zone object without confirmation.
--expunge
Removes all references to the specified zone object and then deletes the zone
object. The command displays the list of zone objects to be deleted and prompts
for confirmation before deleting the zone objects. The removal of zone object
references can trigger the removal of zones not specified in the command. For
example, removing the last zone member from a zone deletes the zone, and may
trigger a recursive deletion of other zones. The following operand is required:
"zone_object"
Specifies a zone object. A zone object can be a zone member, zone alias, or a
zone. The zone object must be enclosed in double quotation marks.
--validate
Lists all zone members that are not part of the current zone enforcement table.
If a zone member is specified by Domain and Port (D,P) in the Admin Domain
membership list, all zone elements specified with WWNs associated with that D,P
are considered for zone enforcement. If a device WWN is specified in the Admin
Domain member list, the corresponding D,P (the device the specified WWN is
associated with) is not considered for zone enforcement.
The following operands are optional:
-f
Specifies that zone members that are not enforceable should be expunged in the
transaction buffer. This pruning operation affects both the transaction buffer and
the defined buffer. You cannot specify a mode or a zone object together with the -f
option.
mode
Specifies the zone database location. This operand is optional. If no mode option
is specified, the validated output of all the three buffers is displayed. Supported
mode flag values include the following:
0
Uses the zone database from the current transaction buffer.
1
Uses the zone database stored in persistent storage.