How to Use Configuration Replace and Configuration Rollback
Creating a Configuration Archive
No prerequisite configuration is needed to use the
configure replace
command. Using the
configure replace
command in conjunction with the Cisco IOS configuration archive and the
archive config
command is optional
but offers significant benefit for configuration rollback scenarios. Before using the
archive config
command,
the configuration archive must be configured. Perform this task to configure the characteristics of the
configuration archive.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
archive
4.
path url
5.
maximum number
6.
time-period minutes
7.
end
8.
archive config
DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode.
enable
Step 1
Example:
• Enter your password if prompted.
Device> enable
Enters global configuration mode.
configure terminal
Example:
Step 2
Device# configure terminal
Enters archive configuration mode.
archive
Example:
Step 3
Device(config)# archive
Specifies the location and filename prefix for the files in
the Cisco IOS configuration archive.
path url
Example:
Step 4
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
185
Configuration Replace and Configuration Rollback
How to Use Configuration Replace and Configuration Rollback