B-22
Cisco Catalyst Blade Switch 3130 for Dell Software Configuration Guide
OL-13270-01
AppendixB Working with the Cisco IOS File System, Configuration Files, and Software Images
Working with Configuration Files
Configuration Guidelines
Follow these guidelines when configuring and performing configuration replacement and rollba ck:
Make sure that the switch has free memory larger than the combined size of the two configuration
files (the running configuration and the saved replacement configuration). Othe rwi se, th e
configuration replacement operation fails.
Make sure that the switch also has sufficient free memory to e xecute the configuration replacement
or rollback configuration commands.
Certain configuration commands, such as those pertaining to physical com ponents of a networking
device (for example, physical interfaces), cannot be added or rem oved from the r unni ng
configuration.
A configuration replacement operation cannot remove the interface interface-id command line
from the running configuration if that interface is physically present on the device.
The interface interface-id command line cannot be added to the running configuration if no
such interface is physically present on the device.
When using the configure replace command, you must specify a saved configuration as the
replacement configuration file for the running configuration. The rep lac eme nt file mus t be a
complete configuration generated by a Cisco IOS device (for example, a configuration generated by
the copy running-config destination-url command).
Note If you generate the replacement configuration file externally, it must comply with the format of files
generated by Cisco IOS devices.
Configuring the Configuration Archive
Using the configure replace command with the configuration archive and with the archive config
command is optional but offers significant benefit for configuration rollback scenarios. Before using the
archive config command, you must first configure the configuration archive. Starting in privileged
EXEC mode, follow these steps to configure the configuration archive:
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 archive Enter archive configuration mode.
Step3 path url Specify the location and filename prefix for the files in the configuration
archive.
Step4 maximum number (Optional) Set the maximum number of archive files of the running
configuration to be saved in the configuration archive.
number—Maximum files of the running configuration file in the configuration
archive. Valid values are from 1 to 14. The default is 10.
Note Before using this command, you must first enter the path archive
configuration command to specify the location and filename prefix for
the files in the configuration archive.