HP StorageWorks Fabric OS 3.X Document Addendum (AA-RW24A-TE, January 2005)
Fabric OS reference guide
236 Fabric OS 3.x Document Addendum
Renames a zone object.
Syntax
zoneobjectrename "objectName", "newName"
Availability
Admin
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 and can be followed by any number of
letters, numerals, 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.
See the zonecreate command for more information on name and member specifications.
Note: This command requires an Advanced Zoning license. When security is enabled, this
command can be issued only from the primary FCS switch.
Operands
This command has the following required operands:
Example
To create a configuration containing three zones:
zoneobjectrename
objectName The name of the object that you want to rename.
newName The new name of the object.
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