Skip to content

Instantly share code, notes, and snippets.

@ryankearney
Created February 10, 2014 17:59
Show Gist options
  • Save ryankearney/8920941 to your computer and use it in GitHub Desktop.
Save ryankearney/8920941 to your computer and use it in GitHub Desktop.
Cisco 2901 Configuration Rollback
TESTGW01#archive config
TESTGW01#sh archive
The maximum archive configurations allowed is 10.
There are currently 10 archive configurations saved.
The next archive file will be named flash:backups-<timestamp>-78
Archive # Name
1 flash:backupsFeb--3-11-55-49.089-DST-68
2 flash:backupsFeb--4-11-57-43.957-DST-69
3 flash:backupsFeb--5-11-59-38.981-DST-70
4 flash:backupsFeb--6-12-01-35.430-DST-71
5 flash:backupsFeb--7-12-03-30.895-DST-72
6 flash:backupsFeb--8-12-05-25.973-DST-73
7 flash:backupsFeb--9-12-07-20.306-DST-74
8 flash:backupsFeb-10-11-23-30.650-DST-75
9 flash:backupsFeb-10-11-53-11.150-DST-76
10 flash:backupsFeb-10-11-54-51.925-DST-77 <- Most Recent
TESTGW01#config replace flash:backupsFeb-10-11-54-51.925-DST-77 force time 1
Rollback Confirmed Change: Backing up current running config to flash:backupsFeb-10-11-55-29.957-DST-78
Total number of passes: 0
Rollback Done
TESTGW01#
013460: Feb 10 11:55:30.801 DST: %ARCHIVE_DIFF-5-ROLLBK_CNFMD_CHG_BACKUP: Backing up current running config to flash:backupsFeb-10-11-55-29.957-DST-78
013461: Feb 10 11:55:30.813 DST: Rollback:Acquired Configuration lock.
TESTGW01#con
013462: Feb 10 11:55:31.145 DST: %ARCHIVE_DIFF-5-ROLLBK_CNFMD_CHG_START_ABSTIMER: User: ryan: Scheduled to rollback to config flash:backupsFeb-10-11-55-29.957-DST-78 in 1 minutes
013463: Feb 10 11:55:31.149 DST: %ARCHIVE_DIFF-5-ROLLBK_CNFMD_CHG_WARNING_ABSTIMER: System will rollback to config flash:backupsFeb-10-11-55-29.957-DST-78 in one minute. Enter "configure confirm" if you wish to keep what you've configured
TESTGW01#config t
Enter configuration commands, one per line. End with CNTL/Z.
TESTGW01(config)#hostname test
test(config)#end
013464: Feb 10 11:55:56.981 DST: %SYS-5-CONFIG_I: Configured from console by ryan on vty0 (10.1.5.115)
test#show archive config diff flash:backupsFeb-10-11-54-51.925-DST-77
!Contextual Config Diffs:
+hostname TESTGW01
-hostname test
test#
013466: Feb 10 11:56:31.144 DST: %ARCHIVE_DIFF-5-ROLLBK_CNFMD_CHG_ROLLBACK_START: Start rolling to: flash:backupsFeb-10-11-55-29.957-DST-78
test#
013467: Feb 10 11:56:31.156 DST: Rollback:Acquired Configuration lock.
test#
TESTGW01#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment