Brocade Fabric OS Command Reference Manual - Supporting Fabric OS v5.3.0 (53-1000436-01, June 2007)

Fabric OS Command Reference Manual 729
53-1000436-01
zone
2
zone
Specifies zone operations.
Synopsis zone --copy < [source_ad.][source_zone_object] > [dest_zone_object]
zone --expunge "zone_object"
zone --validate [-f | -m mode] ["zone_object"]
Description Use this command for zone copy, expunge, and validate operations. zone command follows a
batched-transaction model. Users can perform a specific zone operation using the --copy,
--expunge, and --validate options.
The execution of this command is subject to Admin Domain restrictions that may be in place.
Operands This command has the following operands:
--copy <[source_ad.][source_zone_object] > [dest_zone_object]
Copies all the specified zone objects from the source_AD into the current AD.
The current AD transaction buffer will be used for this operation. Valid options
for --copy are:
[source_ad.][source_zone_object]
Specifies the source Admin Domain and the zone object under it. The zone
object could be a zone configuration, zone alias or zones. If source zone
object is not specified, the all zone configurations will be copied over to the
current Admin Domain.
dest_zone_object Identifies the destination zone object the within the current Admin Domain. If
dest_zone_object is not specified, source_zone_object is copied (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).
--expunge "zone_object"
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 you before deleting. The removal of the zone object could result in
other zone object removal, triggering a recursive deletion. For example,
removing the last zone member from a zone results in the zone deletion.
Valid options for --expunge are:
zone_object Specifies a zone object. A zone object can be a zone member, zone alias or a
zone.
--validate [-f | -m mode] ["zone_object"]
Lists all zone members that are not part of the current zone enforcement
table.
If a switch is specified using D,P in the Admin Domain membership list, all
zone elements specified with WWNs associated to 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 WWN is not considered for
zone enforcement. The zone database used as input to this command is
specified using mode. If the optional zone object name is specified, the
validation is completed on that zone object alone; otherwise, all zones in the
zone database are validated.