Creating a Text Configuration file Introduction
1-125
Software Reference for SwitchBlade x3100 Series Switches (Setting Up the Switch)
Note: While the BACKUP CONFIG command is executing, commands that further affect the system
configuration are disallowed, with the user receiving a command rejected message. Moreover, the
execution of this command may take several minutes to complete.
1.9.3.2 Restoring a Configuration Database Using a Text Configuration File
A text configuration file can be used to populate the configuration database of a device, and can be useful during
system upgrades and downgrades. The command used to execute the file and restore a configuration database
is RESTORE CONFIG FILE (SEC).
The keyword FILE requires that a sourcefile (from FLASH) or unit:sourcefile (from CFLASH) be supplied. The
optional keyword OUTPUT is recommended since this can be used to capture logs that are produced by the
script.
2
Info (020139): Configuration Backup Processing...
Info (020147): Configuration file "sd4:D104.cfg" successfully created.
Verify that configuration file was created.
3
show files sd4:
-------------------------------------------------------------------------------
File.................................. Size KiB
-------------------------------------- ---------------------------------------
AllMsg.log............................ 207
D104.cfg......................... 59
DBBackupTR15.db....................... 670
RobSD.txt............................. <1
cfc200_14.1.0.GAMMA.20100203.tar...... 13359
rob.tar............................... 2097
Capacity KiB.......................... 3567616
Total Displayed KiB................... 16393
Available KiB......................... 4194303
Alternatively, the following steps show how to back up the config to a TFTP server:
4
backup config file D104.cfg tftp server
10.52.65.42
Saves the current configuration of the system to
the designated TFTP server with a filename of
“D104.cfg“.
View status of configuration backup.
5
officer SEC>> Info (020139): Configuration Backup Processing...
Command has been submitted Transfer ID: 1
Info (033012): Successfully transferred file: D104.cfg
TABLE 1-20 Procedure for Backing Up the Config
Step Command Description/Notes