Zoneobjectrename - Brocade Communications Systems 8 Command Reference Manual

Fabric os command reference manual supporting fabric
Hide thumbs Also See for 8:
Table of Contents

Advertisement

2

zoneObjectRename

zoneObjectRename
Renames a zone object.
Synopsis
zoneObjectRename "objectName", "newName"
Description
Use this command to rename a zone 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 must be enabled with the cfgEnable command.
Notes
When an 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"
"newName"
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. Quotation marks are optional. Spaces are ignored.
Refer to the zoneCreate command for more information on name and member specifications.
Examples
To create a configuration containing three zones:
See Also
cfgAdd, cfgClear, cfgDelete, cfgDisable, cfgEnable, cfgRemove, cfgSave, cfgShow,
zoneObjectCopy
1024
The name of the object you want to rename.
The new name of the object.
switch:admin> cfgshow "*"
cfg:
USA_cfg
switch:admin> zoneobjectrename "USA_cfg", "UK_cfg"
switch:admin> cfgshow "*"
cfg:
UK_cfg
Red_zone; White_zone; Blue_zone
Red_zone; White_zone; Blue_zone
Fabric OS Command Reference
53-1001764-02

Advertisement

Table of Contents
loading

Table of Contents