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

382 Administering Advanced Zoning
3. Enter the cfgSave command to save the change to the defined configuration.
To add devices (members) to a zone
1. Connect to the switch and log in as admin.
2. Enter the zoneAdd command.
3. Enter the cfgSave command to save the change to the defined configuration.
To remove devices (members) from a zone
1. Connect to the switch and log in as admin.
2. Enter the zoneRemove command.
3. Enter the cfgSave command to save the change to the defined configuration.
To delete a zone
1. Connect to the switch and log in as admin.
2. Enter the zoneDelete command.
3. Enter the cfgSave command to save the change to the defined configuration.
To view a zone in the defined configuration
1. Connect to the switch and log in as admin.
2. Enter the zoneShow command.
switch:admin> zonecreate “greenzone”, “2,32; 2,33; 2,34; 4,4”
switch:admin> zonecreate “redzone”, “21:00:00:20:37:0c:66:23; 4,3”
switch:admin> cfgsave
You are about to save the Defined Zoning configuration. This
action will only save the changes on the Defined configuration.
Any changes made on the Effective configuration will not
take effect until it is re-enabled.
Do you want to save Defined Zoning configuration only? (yes, y, no, n): [no] y
switch:admin> zoneadd “greenzone”, “1,2”
switch:admin> zoneadd “redzone”, “21:00:00:20:37:0c:72:51”
switch:admin> zoneadd “bluezone”, “4,6; 21:00:00:20:37:0c:66:23
switch:admin> cfgsave
You are about to save the Defined Zoning configuration. This
action will only save the changes on the Defined configuration.
Any changes made on the Effective configuration will not
take effect until it is re-enabled.
Do you want to save Defined Zoning configuration only? (yes, y, no, n): [no] y
switch:admin> zoneremove “greenzone”, “1,2”
switch:admin> zoneremove “redzone”, “21:00:00:20:37:0c:72:51”
switch:admin> zoneremove “bluezone”, “4,6; 21:00:00:20:37:0c:66:23
switch:admin> cfgsave
You are about to save the Defined Zoning configuration. This
action will only save the changes on the Defined configuration.
Any changes made on the Effective configuration will not
take effect until it is re-enabled.
Do you want to save Defined Zoning configuration only? (yes, y, no, n): [no] y
switch:admin> zonedelete “bluezone”
switch:admin> cfgsave
You are about to save the Defined Zoning configuration. This
action will only save the changes on the Defined configuration.
Any changes made on the Effective configuration will not
take effect until it is re-enabled.
Do you want to save Defined Zoning configuration only? (yes, y, no, n): [no] y