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

Fabric OS 5.3.0 administrator guide 387
To add zones (members) to a Zoning configuration
1. Connect to the switch and log in as admin.
2. Enter the cfgAdd command.
3. Enter the cfgSave command to save the change to the defined configuration.
To remove zones (members) from a zone configuration
1. Connect to the switch and log in as admin.
2. Enter the cfgRemove command.
3. Enter the cfgSave command to save the change to the defined configuration.
To delete a zone configuration
1. Connect to the switch and log in as admin.
2. Enter the cfgDelete command:
3. Enter the cfgSave command to save the change to the defined configuration.
To clear changes to a configuration
Use the cfgTransAbort command. When this command is executed, all changes since the last save
operation (performed with the cfgSave command) are cleared.
In the following example, assume that the removal of a member from zone1 was done in error:
To view all zone configuration information
If you do not specify an operand when executing the cfgShow command to view zone configurations,
then all zone configuration information (both defined and effective) displays. If there is an outstanding
transaction, then the newly edited zone configuration that has not yet been saved is displayed. If there are
no outstanding transactions, then the committed zone configuration displays.
1. Connect to the switch and log in as admin.
switch:admin> cfgadd “newcfg”, “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
switch:admin> cfgremove “newcfg”, “redzone”
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> cfgdelete “testcfg”
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 “zone1”,”3,5”
switch:admin> cfgtransabort