zoneObjectRename
Renames a zone object.
Synopsis
zoneObjectRename "objectName", "newName"
Availability
admin
NOTE:
This command requires HP Advanced Zoning license, which is included within the Base
Configuration Services and bundled with each B-series switch.
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
appropriate zone configuration must be enabled using the
See the
zoneCreate
NOTE:
When security mode is enabled, this command can be issued only from the primary FCS switch.
Operands
This command has the following operands:
objectName
newName
Examples
To create a configuration containing three zones:
switch:admin> cfgShow "*"
cfg:
switch:admin> zoneObjectRename "USA_cfg", "UK_cfg"
switch:admin> cfgShow "*"
cfg:
760 Fabric OS commands
cfgSave
command for more information on name and member specifications.
The name of the object that you want to rename. This operand is required.
The new name of the object. This operand is required.
USA_cfg
Red_zone; White_zone; Blue_zone
UK_cfg
Red_zone; White_zone; Blue_zone
command. For the change to become effective, an
command.
cfgEnable