DETAILED STEPS
PurposeCommand or Action
(Optional) Save the running configuration file to the configuration archive.
Enter the path archive configuration command before using this command.Note
archive config
Step 1
Enter global configuration mode.configure terminal
Step 2
Make necessary changes to the running configuration
Step 3
Return to privileged EXEC mode.exit
Step 4
Replace the running configuration file with a saved configuration file.
target-url—URL (accessible by the file system) of the saved configuration file that is to
replace the running configuration, such as the configuration file created in Step 2 by using
the archive config privileged EXEC command
configure replace
target-url [list] [force]
[time seconds] [nolock]
Step 5
list —Display a list of the command entries applied by the software parser during each
pass of the configuration replacement operation. The total number of passes also appears.
force —Replace the running configuration file with the specified saved configuration file
without prompting you for confirmation.
timeseconds—Specify the time (in seconds) within which you must enter the configure
confirm command to confirm replacement of the running configuration file. If you do not
enter the configure confirm command within the specified time limit, the configuration
replacement operation is automatically stopped. (In other words, the running configuration
file is restored to the configuration that existed before you entered the configure replace
command).
You must first enable the configuration archive before you can use the time
seconds command line option.
nolock— Disable the locking of the running configuration file that prevents other
users from changing the running configuration during a configuration replacement
operation.
Note
(Optional) Confirm replacement of the running configuration with a saved configuration
file.
Use this command only if the time seconds keyword and argument of the
configure replace command are specified.
Note
configure confirm
Step 6
(Optional) Save your entries in the configuration file.copy running-config
startup-config
Step 7
Working with Software Images
•
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
2063
Working with Software Images