Renaming a zone object – HP StorageWorks 2.128 SAN Director Switch User Manual

Page 194

Advertising
background image

194 Administering advanced zoning

For example:

3.

Issue the

zoneObjectExpunge

command to delete the zone object.

Note that zone configuration names are case-sensitive; blank spaces are ignored. For example:

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:

3.

Issue the

zoneObjectRename

command to rename zone configuration objects.

Note that zone configuration names are case-sensitive; blank spaces are ignored. For example:

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.

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> 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”

Advertising