Appendix 1
Working with the Cisco IOS File System, Configuration Files, and Software Images
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
Step 1
configure terminal
Step 2
archive
Step 3
path url
Step 4
maximum number
Step 5
time-period minutes
Step 6
end
Step 7
show running-config
Step 8
copy running-config
startup-config
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
Step 1
archive config
Step 2
configure terminal
Step 3
Step 4
exit
OL-25303-03
Purpose
Enter global configuration mode.
Enter archive configuration mode.
Specify the location and filename prefix for the files in the configuration
archive.
(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.
Before using this command, you must first enter the path archive
Note
configuration command to specify the location and filename prefix for
the files in the configuration archive.
(Optional) Set the time increment for automatically saving an archive file of
the running configuration in the configuration archive.
minutes—Specify how often, in minutes, to automatically save an archive file
of the running configuration in the configuration archive.
Return to privileged EXEC mode.
Verify the configuration.
(Optional) Save your entries in the configuration file.
Purpose
(Optional) Save the running configuration file to the configuration archive.
Enter the path archive configuration command before using this
Note
command.
Enter global configuration mode.
Make necessary changes to the running configuration.
Return to privileged EXEC mode.
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
Working with Configuration Files
1-23