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

Fabric OS Command Reference Manual 737
53-1000436-01
zoneObjectCopy
2
zoneObjectCopy
Copies a zone object.
Synopsis zoneObjectCopy "objectName", "newName"
Description Use this command to copy a zone object to a new zone object. The resulting object has the same
type as the original object. You can use this command for all zone object types, including cfg, zone,
and alias.
A zone configuration name must begin with a letter that can be followed by any number of letters,
numbers, and underscores. Names are case sensitive; for example, "Cfg_1" and "cfg_1" are
different zone configurations. Spaces are ignored.
This command changes the defined configuration. For the change to be preserved across switch
reboots, it must be saved to nonvolatile memory using the cfgSave command. For the change to
become effective, an appropriate zone configuration must be enabled using the cfgEnable
command.
Refer to the zoneCreate command for more information on name and member specifications.
This command requires a Brocade Advanced Zoning license.
When secure mode is enabled, this command can be issued only from the primary FCS switch.
Operands This command has the following operands:
"objectName" The name of the object that you want to copy. Quotation marks are optional.
This operand is required.
"newName" The name of the object that you want created. Quotation marks are optional.
This operand is required.
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