Zoneobjectcopy – Dell POWEREDGE M1000E User Manual
Page 1054
1022
Fabric OS Command Reference
53-1001764-02
zoneObjectCopy
2
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.
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.
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 or Admin Domain restrictions that may
be in place. Refer to chapter 1, "Using Fabric OS Commands" and Appendix A, "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