Performing a Configuration Replace or Configuration Rollback Operation
Perform this task to replace the current running configuration file with a saved Cisco IOS configuration file.
You must create a configuration archive before performing this procedure. See
for detailed steps. The following procedure details how to return to that archived configuration in
the event of a problem with the current running configuration.
Note
SUMMARY STEPS
1.
enable
2.
configure replace target-url
[
nolock
] [
list
] [
force
] [
ignore case
] [
revert trigger
[
error
][
timer
minutes
]
|
time minutes
] ]
3.
configure revert
{
now
|
timer
{
minutes
|
idle minutes
} }
4.
configure confirm
5.
exit
DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode.
enable
Step 1
Example:
• Enter your password if prompted.
Device> enable
Replaces the current running configuration file with a saved
Cisco IOS configuration file.
configure replace target-url
[
nolock
] [
list
] [
force
] [
ignore
case
] [
revert trigger
[
error
][
timer minutes
]
|
time
minutes
] ]
Step 2
• The
target
-
url
argument is a URL (accessible by the
Cisco IOS file system) of the saved Cisco IOS
Example:
configuration file that is to replace the current running
Device# configure replace flash: startup-config
time 120
configuration, such as the configuration file created
using the
archive config
command.
• The
list
keyword displays a list of the command lines
applied by the Cisco IOS software parser during each
pass of the configuration replace operation. The total
number of passes performed is also displayed.
• The
force
keyword replaces the current running
configuration file with the specified saved Cisco IOS
configuration file without prompting you for
confirmation.
• The
time minutes
keyword and argument specify the
time (in minutes) within which you must enter the
configure confirm
command to confirm replacement
of the current running configuration file. If the
configure confirm
command is not entered within the
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
223
Configuration Replace and Configuration Rollback
Performing a Configuration Replace or Configuration Rollback Operation