A-21
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Appendix A Working with the Cisco IOS File System, Configuration Files, and Software Images
Working with Configuration Files
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 lacement file must 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:
Performing a Configuration Replacement or Rollback Operation
Starting in privileged EXEC mode, follow these steps to replace the running configuration file with a
saved configuration file:
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 archive Enters archive configuration mode.
Step 3 path url Specifies the location and filename prefix for the files in the configuration
archive.
Step 4 maximum number (Optional) Sets 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.
Step 5 time-period minutes (Optional) Sets the time increment for automatically saving an archive file of
the running configuration in the configuration archive.
minutes—Specifies how often, in minutes, to automatically save an archive file
of the running configuration in the configuration archive.
Step 6 end Returns to privileged EXEC mode.
Step 7 show running-config Verifies the configuration.
Step 8 copy running-config
startup-config
(Optional) Saves your entries in the configuration file.