HP StorageWorks Fabric OS 5.3.x administrator guide (5697-0244, November 2009)

390 Administering Advanced Zoning
To delete a zone object
1. Connect to the switch and log in as admin.
2. Enter the cfgShow command to view the zone configuration objects you want to delete.
3. Enter the zoneObjectExpunge command to delete the zone object. Note that zone configuration
names are case sensitive; blank spaces are ignored
4. Enter 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 (also known as “flash”)
memory by entering the cfgSave command.
6. For the change to become effective, enable the appropriate zone configuration using the cfgEnable
command.
To rename a zone object
1. Connect to the switch and log in as admin.
2. Enter the cfgShow command to view the zone configuration objects you want to rename.
3. Enter the zoneObjectRename command to rename zone configuration objects. Note that zone
configuration names are case sensitive; blank spaces are ignored
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
Effective configuration:
cfg: USA_cfg
zone: Blue_zone
1,1
21:00:00:20:37:0c:76:8c
21:00:00:20:37:0c:71:02
1,2
21:00:00:20:37:0c:76:22
21:00:00:20:37:0c:76:28
zone: Red_zone
1,0
21:00:00:20:37:0c:76:85
21:00:00:20:37:0c:71:df
switch:admin> zoneObjectExpunge "White_zone"
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
switch:admin> zoneObjectRename "White_zone", “Red_zone”