beautypg.com

Zoneobjectcopy – Dell POWEREDGE M1000E User Manual

Page 1141

background image

Fabric OS Command Reference

1113

53-1002746-01

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