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

Fabric OS Command Reference Manual 739
53-1000436-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.
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 rename. Quotation marks are
optional. This operand is required.
"newName" The new name of the object. 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> 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