HP StorageWorks Fabric OS 6.x administrator guide (5697-7344, March 2008)

Fabric OS 6.x administrator guide 413
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.
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. Enter the zoneObjectRename command to rename zone configuration objects. Note that zone
configuration names are case-sensitive; blank spaces are ignored and it works in any Admin Domain
other than AD255.
switch:admin> zoneObjectRename "White_zone", "Red_zone"
4. Enter the cfgShow command to verify the renamed zone object is present.
5. If you want the change preserved when the switch reboots, enter the cfgSave command to save it to
nonvolatile (flash) memory.
6. Enter the cfgEnable command for the appropriate zone configuration to make the change effective.
To validate a zone:
1. Connect to the switch and log in as admin.
2. Enter the cfgShow command to view the zone configuration objects you want to validate.
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. Enter the zone
--validate command to list all zone members that are not part of the current zone
enforcement table. Note that zone configuration names are case-sensitive; blank spaces are ignored.
switch:admin> zone --validdate "White_zone"