Brocade Fabric OS Command Reference Manual v6.2.0 (53-1001186-01, April 2009)

Fabric OS Command Reference 843
53-1001186-01
zoneObjectRename
2
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" The name of the object you want to rename.
"newName" The new name of the object.
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:
switch:admin> cfgshow "*"
cfg: USA_cfg Red_zone; White_zone; Blue_zone
switch:admin> zoneobjectrename "USA_cfg", "UK_cfg"
switch:admin> cfgshow "*"
cfg: UK_cfg Red_zone; White_zone; Blue_zone
See Also cfgAdd, cfgClear, cfgDelete, cfgDisable, cfgEnable, cfgRemove, cfgSave, cfgShow,
zoneObjectCopy