Before using the archive config command, you must configure the path command to specify the location
and filename prefix for the files in the Cisco IOS configuration archive.
Note
You first save the current running configuration in the configuration archive as follows:
archive config
You then enter configuration changes as shown in the following example:
configure terminal
!
user netops2 password rain
user netops3 password snow
exit
After having made changes to the running configuration file, assume you now want to roll back these changes
and revert to the configuration that existed before the changes were made. The show archive command is
used to verify the version of the configuration to be used as a replacement file. The configure replace command
is then used to revert to the replacement configuration file as shown in the following example:
Device# show archive
There are currently 1 archive configurations saved.
The next archive file will be named flash:myconfiguration-2
Archive # Name
0
1 flash:myconfiguration-1 <- Most Recent
2
3
4
5
6
7
8
9
10
Device# configure replace flash:myconfiguration-1
Total number of passes: 1
Rollback Done
Additional References for Configuration Replace and
Configuration Rollback
Related Documents
Document TitleRelated Topic
Command Reference (Catalyst 9400 Series Switches)For complete syntax and usage information for
the commands used in this chapter.
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)
337
Configuration Replace and Configuration Rollback
Additional References for Configuration Replace and Configuration Rollback