HP StorageWorks Fabric OS 5.0.0 Command Reference Guide (AA-RW1MA-TE, May 2005)

728 Fabric OS commands
Renames a zone object.
Synopsis
zoneObjectRename objectName, newName
Availability
admin
NOTE: This command requires an HP Advanced Zoning license.
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 flash 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.
NOTE: When security mode is enabled, this command can be issued only from the primary FCS switch.
Operands
This command has the following operands:
Examples
To create a configuration containing three zones:
zoneObjectRename
objectName The name of the object that you want to rename. This operand is required.
newName The new name of the object. This operand is required.
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