beautypg.com

Clearing changes to a zone configuration, Clearing all zone configurations – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 187

background image

1. In privileged EXEC mode, enter the configure terminal command to enter global configuration

mode.

2. Enter the no zoning defined-configuration cfg command and the name of the zone configuration

you want to delete.

3. Enter the zoning enabled-configuration cfg-action cfg-save command to save the modified

defined configuration to nonvolatile memory.

Example of deleting a zone configuration:

switch# configure terminal

Entering configuration mode terminal

switch(config)# no zoning defined-configuration cfg cfg2

switch(config)# zoning enabled-configuration cfg-action cfg-save

NOTE
If you try to delete the enabled configuration from the defined configuration, the zoning enabled-
configuration cfg-action cfg-save
command returns an error. However, if you commit the
transaction with the zoning enabled-configuration cfg-action cfg-disable command, the operation
proceeds without error.

Clearing changes to a zone configuration

The following procedure aborts all pending transactions and removes all uncommitted operations from
the database. It returns the configuration in volatile memory to the state it was in when a zoning
enabled-configuration cfg-action cfg-save
or zoning enabled-configuration cfg-name command
was last executed successfully.

1. In privileged EXEC mode, enter the configure terminal command to enter the global configuration

mode.

2. Enter the zoning enabled-configuration cfg-action cfg-transaction-abort command.

Example of aborting a transaction:

switch# configure terminal

Entering configuration mode terminal

switch(config)# zoning enabled-configuration cfg-action cfg-transaction-abort

Clearing all zone configurations

The following procedure clears all zone configurations from the defined configuration and enables the
default zone.

NOTE
For fabrics with many devices, Brocade recommends setting the default access mode to No Access
before clearing all zone configurations to avoid RSCN storms.

1. In privileged EXEC mode, enter the configure terminal command to enter global configuration

mode.

2. Enter the zoning enabled-configuration cfg-action cfg-clear command.
3. Enter one of the following commands, depending on whether an enabled zone configuration exists:

Clearing changes to a zone configuration

Network OS Administrator’s Guide

187

53-1003225-04