For more details, please see ourCookie Policy.

Design & Build

How To: Backup of Configuration Files for Brocade Devices

by on ‎12-16-2011 03:44 PM (33,900 Views)



For easy configuration management, the router supports the download and upload of configuration files between the router and a TFTP server on the network. You can also copy the startup configuration file locally between the management module’s code flash and a PCMCIA flash card inserted in management module slot 1 or 2.

Before You Begin

You can upload either the startup configuration file or the running configuration to the TFTP server, code flash, or a flash card for backup and use in booting the system.

  • Startup configuration file – This file (startup-config) contains the configuration information that is currently saved in flash memory. To display this file, enter the show configuration command at any CLI prompt.
  • Running configuration – This active configuration is in the system RAM but not yet saved to code flash. These changes could represent a short-term requirement or a general configuration change. To display this configuration, enter the show running-config or write terminal command at any CLI prompt.

Each device can have one startup configuration file and one running configuration. The startup configuration file is shared by both flash modules. The running configuration resides in DRAM.

Topic of Discussion

To retain the current startup configuration:

After making configuration changes to the active system, if you have not executed a write memory

command and you decide you don’t want to save the changes, enter the reload command to return

to the current startup configuration.

Brocade# reload

If the system detects differences between the running and startup configurations,

it prompts you as follows:

Are you sure? (enter ‘y’ or ‘n’):

Enter y, and press the Enter key.

To make local copies of the startup configuration file:

You can copy the startup-config file in flash memory to a TFTP server or to a PCMCIA flash card inserted in management module slot 1 or 2.

For example, to make a backup copy of the startup-config file and save the backup file to a TFTP server, enter a command such as the following at the Privileged EXEC level in the CLI:

Brocade# copy startup-config tftp startup-config.bak

Syntax: copy startup-config tftp <ip-address> <dest-file-name>

Example 1: Backing up the Configuration

Prerequisites: A TFTP server or Secure Copy program and SSH enabled on the the device

Notes: TFTP commands are issued on the device. SCP commands are issued on the server.

Example Commands for TFTP:

Backing up the device:

  copy run tftp myswitch.cfg

Restoring the device:

  copy tftp start myswitch.cfg


Some, but not all of the content in this site provided, reviewed, approved or endorsed by Brocade and is provided solely as a convenience of our customers. All postings and use of the content on this site are subject to the BROCADE EXTRANET TERMS AND CONDITIONS OF USE of the site. BROCADE ASSUMES NO LIABIITY WHATSOEVER, MAKES NO REPRESENTATION AND DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO THE CONTENT PROVIDED HEREIN, INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, CORRECTNESS, APPROPRIATENESS OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED EXPECT AS PROVIDED IN BROCADE’S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, THIRD PARTIES USE THIS CONTENT AT THEIR OWN RISK. Content on this site may contain or be subject to specific guidelines or limitation on use. Third parties using this content agree to abide by any limitation or guidelines and to comply with the BROCADE EXTRANET TERMS AND CONDITIONS OF USE of this site. Brocade may make changes to this content, to specifications, or product design or descriptions at any time, or may remove content at its sole discretion without notice.

on ‎12-19-2011 02:02 PM

moved to BPB