Reference Guide

1166 Brocade Fabric OS Command Reference
53-1004112-02
zoneObjectCopy
zoneObjectCopy
Copies a zone object.
Synopsis zoneObjectCopy "objectName", "newName"
Description Use this command to make a copy of an existing zone object and give it a new name. The resulting object is of the
same type as the original object. You can use this command for all zone object types, including cfg, zone, and alias.
Target Driven Peer Zones are not allowed to be edited using this command.
This command changes the defined configuration. For the change to be preserved across switch reboots, save the
configuration to nonvolatile memory with the cfgSave command. For the change to become effective, enable the
configuration with the cfgEnable command.
This command is not applicable for special zones, such as TI zones or RD zones.
Notes When FCS policy is enabled, this command can be issued only from the primary FCS switch.
The execution of this command is subject to Virtual Fabric restrictions that may be in place. Refer to "Using Fabric
OS Commands" and "Command Availability" for details.
Operands The following operands are required:
"objectName"
The name of the object that you want to copy. Quotation marks are optional.
"newName"
The name of the object that you want created. Quotation marks are optional.
A zone configuration name must begin with a letter followed by any number of letters, numbers, and underscores.
Names are case-sensitive. For example, "Cfg_1" and "cfg_1" are different zone configurations. Blank spaces are
ignored.
Refer to the zoneCreate command for more information on name and member specifications
Examples To create a configuration containing three zones:
switch:admin> cfgshow "*"
cfg: USA_cfg Red_zone; White_zone; Blue_zone
switch:admin> zoneobjectcopy "USA_cfg", "UK_cfg"
switch:admin> cfgshow "*"
cfg: UK_cfg Red_zone; White_zone; Blue_zone
cfg: USA_cfg Red_zone; White_zone; Blue_zone
SEE ALSO cfgAdd, cfgClear, cfgDelete, cfgDisable, cfgEnable, cfgRemove, cfgSave, cfgShow, zoneObjectRename