Backing up the zone configuration, Restoring a configuration from backup – Brocade Network OS Administrator’s Guide v4.1.1 User Manual
Page 188

• If no enabled zone configuration exists, enter the zoning enabled-configuration cfg-action
cfg-save command.
• If an enabled zone configuration exists, enter the no zoning enabled-configuration cfg-name
command to disable and clear the zone configuration in nonvolatile memory for all switches in
the fabric.
switch# configure terminal
Entering configuration mode terminal
switch(config)# zoning enabled-configuration cfg-action cfg-clear
switch(config)# no zoning enabled-configuration cfg-name
Backing up the zone configuration
To back up your zoning configuration you copy it to a file and store it on a server or on an attached
USB device. You can use the copy to restore the configuration if needed.
NOTE
Ensure that no transaction is pending before you perform the copy operation, otherwise failures will
occur when you attempt to restore configuration entries from the saved file. Any transaction data
would cause such a failure, including empty configuration definitions or empty zones.
1. In privileged EXEC mode, enter the configure terminal command to enter global configuration
mode.
2. Empty the transaction buffer by either committing the transaction to nonvolatile memory or aborting
the transaction.
• To commit the transaction, enter the zoning enabled-configuration cfg-action cfg-save
command, the zoning enabled configuration cfg-name command, or the zoning enabled-
configuration cfg-action cfg-disable command.
• To abort the transaction, enter the zoning enabled-configuration cfg-action cfg-transaction-
abort command.
3. Enter the exit command to return to privileged EXEC mode.
4. Enter the copy command. For the source file, use running-config . For the destination file, use the
file name you want the configuration copied to.
Example of making a backup copy on a USB device:
switch# configure terminal
Entering configuration mode terminal
switch(config)# zoning enabled-configuration cfg-action cfg-save
switch(config)# exit
switch# copy running-config usb://myconfig
Restoring a configuration from backup
When you restore a configuration from backup and add to the running configuration, the zone
configuration identified in the backup copy as the enabled configuration becomes the new enabled
configuration.
In privileged EXEC mode, enter the copy command. For the source file use the file where the saved
configuration is stored. For the destination file, use running-config.
This operation updates the defined configuration in RAM.
NOTE
The copy command adds to the defined configuration. It does not replace the defined configuration.
Backing up the zone configuration
188
Network OS Administrator’s Guide
53-1003225-04