Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

configure replace timer --- conf t revert timer

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

Everyone's tags (7)
13 REPLIES
Cisco Employee

configure replace timer --- conf t revert timer

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.

Re: configure replace timer --- conf t revert timer

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

Cisco Employee

Re: configure replace timer --- conf t revert timer

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.

configure replace timer --- conf t revert timer

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

Cisco Employee

configure replace timer --- conf t revert timer

That part is normal.  The fact that the timer is not popping is definitely not normal.

configure replace timer --- conf t revert timer

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 timer" a certain file for rollback

Many Thanks

Cisco Employee

configure replace timer --- conf t revert timer

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).

configure replace timer --- conf t revert timer

Thats make sense

Much appreciate your several replies & explanation

New Member

configure replace timer --- conf t revert timer

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 and scheduled to rollback to config in 5 minutes

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).

New Member

Re: configure replace timer --- conf t revert timer

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.

Cisco Employee

configure replace timer --- conf t revert timer

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.

New Member

Hi Joseph,I've got the same

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.

Cisco Employee

This is a new bug CSCub85360.

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.

3604
Views
22
Helpful
13
Replies
CreatePlease login to create content