beautypg.com

Deleting a zone configuration, Abandoning zone configuration changes, Viewing all zone configuration information – Brocade Fabric OS Administrators Guide (Supporting Fabric OS v7.3.0) User Manual

Page 324

background image

Deleting a zone configuration

Use the following procedure to delete a zone configuration.

1. Connect to the switch and log in using an account with admin permissions.
2. Enter the cfgDelete command, using the following syntax:

cfgdelete "cfgname"

3. Enter the cfgSave command to save the change to the defined configuration.

The cfgSave command ends and commits the current zoning transaction buffer to nonvolatile
memory. If a transaction is open on a different switch in the fabric when this command is run, the
transaction on the other switch is automatically aborted. A message displays on the other switches
to indicate that the transaction was aborted.

switch:admin> cfgdelete "testcfg"

switch:admin> cfgsave

You are about to save the Defined zoning configuration. This action will only

save the changes on Defined configuration.

Do you want to save Defined zoning configuration only? (yes, y, no, n): [no] y

Abandoning zone configuration changes

To abandon zone configuration changes, enter the cfgTransAbort command.

When this command is executed, all changes since the last save operation (performed with the
cfgSave , cfgEnable , or cfgDisable command) are cleared.

Example of assuming that the removal of a member from zone1 was done in error

switch:admin> zoneremove "zone1","3,5"

switch:admin> cfgtransabort

Viewing 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.

Use the following procedure to view all zone configuration information.

1. Connect to the switch and log in using an account with admin permissions.
2. Enter the cfgShow command with no operands.

Example

switch:admin> cfgshow

Defined configuration:

cfg: USA1 Blue_zone

cfg: USA_cfg Purple_zone; Blue_zone

zone: Blue_zone

1,1; array1; 1,2; array2

zone: Purple_zone

1,0; loop1

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

Deleting a zone configuration

324

Fabric OS Administrators Guide

53-1003130-01