Network OS Administration Guide

Supporting Network OS 6.0.1a

Part Number: 53-1003768-04

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.

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