For example:
switch:admin> cfgShow
Defined configuration:
cfg: USA_cfg Red_zone; White_zone; Blue_zone
zone: Blue_zone
1,1; array1; 1,2; array2
zone: Red_zone
1,0; loop1
zone: White_zone
1,3; 1,4
alias: array1 21:00:00:20:37:0c:76:8c; 21:00:00:20:37:0c:71:02
alias: array2 21:00:00:20:37:0c:76:22; 21:00:00:20:37:0c:76:28
alias: loop1 21:00:00:20:37:0c:76:85; 21:00:00:20:37:0c:71:df
3.
Issue the zoneObjectExpunge command to delete the zone object.
Note that zone configuration names are case-sensitive; blank spaces are ignored. For example:
switch:admin> zoneObjectExpunge "White_zone"
4.
Issue the cfgShow command to verify the deleted zone object is no longer present.
5.
If you want the change preserved when the switch reboots, save it to nonvolatile memory (also known
as flash memory) by issuing the cfgSave command.
6.
For the change to become effective, enable the appropriate zone configuration using the cfgEnable
command.
Renaming a zone object
1.
Connect to the switch and log in as admin.
2.
Issue the cfgShow command to view the zone configuration objects you want to rename.
For example:
switch:admin> cfgShow
Defined configuration:
cfg: USA_cfg Red_zone; White_zone; Blue_zone
zone: Blue_zone
1,1; array1; 1,2; array2
zone: Red_zone
1,0; loop1
zone: White_zone
1,3; 1,4
alias: array1 21:00:00:20:37:0c:76:8c; 21:00:00:20:37:0c:71:02
alias: array2 21:00:00:20:37:0c:76:22; 21:00:00:20:37:0c:76:28
alias: loop1 21:00:00:20:37:0c:76:85; 21:00:00:20:37:0c:71:df
3.
Issue the zoneObjectRename command to rename zone configuration objects.
Note that zone configuration names are case-sensitive; blank spaces are ignored. For example:
switch:admin> zoneObjectRename "White_zone", "Red_zone"
4.
Issue the cfgShow command to verify the renamed zone object is present.
5.
If you want the change preserved when the switch reboots, save it to nonvolatile (also known as flash
memory) by issuing the cfgSave command.
6.
For the change to become effective, enable the appropriate zone configuration using the cfgEnable
command.
For details about the zoneObjectCopy, cfgShow, cfgEnable, and cfgSave commands, see the HP
StorageWorks Fabric OS 5.x command reference guide.
194 Administering advanced zoning