12-30-2011 06:10 PM
Dears
Happy new year
I would like your assistance regarding below commands
1- configure replace <file> timer
2- conf t revert timer
For first one, what I understand is that IOS will apply file & If no "configure confirm" is applied IOS will revert back
For seconf, same idea but instead if applying file, IOS will apply commands I enter in configuration mode
Correct ?
If Yes
3- Why once I enter any command, IOS is archieved ?
4- I tried both commands and didnt work ; i.e it never fall backed knowing that I did not apply "configure confirm" !!!
|||||||||||||||||
R1#sh run | section arch
archive
path disk0:rollback
R1#
R1#conf t revert timer 1
Rollback Confirmed Change: Backing up current running config to disk0:rollbackDec-31-01-20-10.736-0 <<--- IOS is archived !
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#
Dec 31 01:20:16.416: %ARCHIVE_DIFF-5-ROLLBK_CNFMD_CHG_BACKUP: Backing up current running config to disk0:rollbackDec-31-01-20-10.736-0
Dec 31 01:20:16.416: %ARCHIVE_DIFF-5-ROLLBK_CNFMD_CHG_START_ABSTIMER: User: cisco: Scheduled to rollback to config disk0:rollbackDec-31-01-20-10.736-0 in 1 minutes
R1(config)#hostname test
test(config)#exit
Dec 31 01:20:52.324: %SYS-5-CONFIG_I: Configured from console by cisco on vty0 (192.168.111.227)
test#
I didnt enter "configure confirm" after that, so i expected fallback but nothing happened !
||||||||||
R1(config)#hostname test
test(config)#exit
test#conf t
test#configure replace disk0:sismail list force time 1
Rollback Confirmed Change: Backing up current running config to disk0:rollbackDec-31-02-49-54.869-7 ---->> IOS is archived !
Dec 31 02:50:00.425: %ARCHIVE_DIFF-5-ROLLBK_CNFMD_CHG_BACKUP: Backing up current running config to disk0:rollbackDec-31-02-49-54.869- 7
Dec 31 02:50:00.497: Rollback:Acquired Configuration lock.
!Pass 1
!List of Rollback Commands:
no hostname test
hostname c7613_51
c7613_51#
I didnt enter "configure confirm" after that, so i expected fallback but nothing happened
Appreciate your assitance
Many Thanks
01-01-2012 09:58 AM
What version of IOS did you use? I have never seen a problem with config revert or rollback. I tested locally with a 3560 running 15.0(1)SE, and it worked. I tested with the same hostname change. I got a syslog message when the config rollback process began:
.Jan 1 17:56:16.960: %ARCHIVE_DIFF-5-ROLLBK_CNFMD_CHG_ROLLBACK_START: Start rolling to: flash:/archive/config_Jan--1-17-43-27.618-512
Then the hostname was restored.
01-01-2012 11:27 PM
Thanks Clarke for your reply
Below is a snapshot of IOS & commands I used
Appreciate your assistance
c7613_51#sh ver | i image
System image file is "disk0:c7600s72033-adventerprisek9-mz.151-3.S1.bin"
c7613_51#
c7613_51(config)#archive
c7613_51(config-archive)#path disk0:rollback
----------------------- conf t revert timer -----------------------
c7613_51#conf t revert timer 1
Rollback Confirmed Change: Backing up current running config to disk0:rollbackJan--2-08-07-12.263-0
Enter configuration commands, one per line. End with CNTL/Z.
c7613_51(config)#
Jan 2 08:07:17.847: %ARCHIVE_DIFF-5-ROLLBK_CNFMD_CHG_BACKUP: Backing up current running config to disk0:rollbackJan--2-08-07-12.263-0
Jan 2 08:07:17.847: %ARCHIVE_DIFF-5-ROLLBK_CNFMD_CHG_START_ABSTIMER: User: cisco: Scheduled to rollback to config disk0:rollbackJan--2-08-07-12.263-0 in 1 minutes
c7613_51(config)#hostname test
test#
Jan 2 08:07:38.447: %SYS-5-CONFIG_I: Configured from console by cisco on vty0 (192.168.111.226)
test#
test#sh clock
08:09:16.319 CET Mon Jan 2 2012 <<<--- 1 minute passed and no rollback occured
test#
test#sh archive config rollback timer
Time configured(or reconfigured): 08:07:17 CET Mon Jan 2 2012
Timer type: absolute timer
Timer value: 1 min
User: cisco
test#
|||||||
----------------------- conf replace revert timer -----------------------
test#conf replace disk0:sismail list force time 1
%Rollback Confirmed Change is already activated on a config <<-- due to previous test
test#conf confirm
test#conf replace disk0:sismail list force time 1
Rollback Confirmed Change: Backing up current running config to disk0:rollbackJan--2-08-14-30.269-0 ***
Jan 2 08:14:35.797: %ARCHIVE_DIFF-5-ROLLBK_CNFMD_CHG_BACKUP: Backing up current running config to disk0:rollbackJan--2-08-14-30.269-0
Jan 2 08:14:35.869: Rollback:Acquired Configuration lock.
!Pass 1
!List of Rollback Commands: *******
no hostname test
hostname c7613_51
Rollback aborted after 5 passes
c7613_51#
*** Dont know why IOS archived config file although I specified a certain file for rollback "sismail" !!
******* Rollback occured immediately although it should wait 1 min "time 1" !!
c7613_51#conf t
Enter configuration commands, one per line. End with CNTL/Z.
c7613_51(config)#host test2
Jan 2 08:15:12.561: %SYS-5-CONFIG_I: Configured from console by cisco on vty0 (192.168.111.226)
test2#
test2#sh clock
08:18:54.230 CET Mon Jan 2 2012 <<<--- 1 minutes passed & no rollback occured
Many Thanks
01-02-2012 08:10 AM
I think you have found a bug. I don't have a 7600 with which to test at the moment, but it appears there is a problem with the timer. The rollback function seems to be working based on the fact that the config replace did revert the hostname. I did find one bug on the 15.0 mainline branch that sounded very similar, but it was unreproducible. I suggest you open a TAC service request using the Open Service Request link in this thread. Hopefully this time, the problem can be identified.
01-02-2012 03:08 PM
Thanks Joseph .. I will try it on another IOS
Is it normal that IOS archive config file when I rollback to a specifc config file using "configure replace" as stated above
or this is part of the bug ?
Many Thanks
01-02-2012 03:29 PM
That part is normal. The fact that the timer is not popping is definitely not normal.
01-03-2012 12:29 AM
Thanks Joseph .... Your assistance is much appreicated
But still why config file is archived. As I understand this archive will never be used as I specified in "configure replace
Many Thanks
01-03-2012 08:11 AM
To backup your current config. This is to handle the use case where you want to be able to go back to that config (you may be picking an archived version that is different from your current running config).
01-03-2012 01:46 PM
Thats make sense
Much appreciate your several replies & explanation
06-25-2013 12:52 AM
Hi,
I experienced the same on a 3560-X with 15.0(2)SE2:
When issuing a
# conf t revert timer 5
syslog says that the config is archived to
then I issue some config statement and ... nothing happens, however long I wait.
A manual
#config revert now
and a
#config confirm
will either work properly.
Also a
# show archive config rollback timer
displays the correct time configured and timer value
but the timer doesn't fire (at least not for over an hour waiting time).
01-24-2013 10:42 AM
I am also having issues using the rever timer specifically.
Router#configure revert now ----- > works
Router#configure terminal revert timer 1 ------> nothing happens
I've attempted this on two 881's running 15.1(4)M4.
Has anyone found a solution or can recommend a version of IOS that for sure works? I'd like to utilize this feature as soon as possible.
06-29-2013 06:53 PM
It appears a bug that was fixed a while ago was reintroduced: CSCsv95829. I'm currently trying to see how the fix can be reincorporated.
07-15-2014 05:14 AM
Hi Joseph,
I've got the same issue on the following IOS.
c1900-universalk9-mz.SPA.151-4.M4.bin
c2900-universalk9-mz.SPA.153-2.T.bin
How this problem will be fixed? I'm really need it.
Thanks.
07-15-2014 09:00 AM
This is a new bug CSCub85360. It is fixed in 15.4(2)T, but it doesn't look like it's made it into a mainline release train yet.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide