Revert Timer will not complete, and leaves a configuration lock
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2019 12:02 AM - edited 03-23-2019 12:03 AM
Hi,
I'm trying to use the
configure terminal revert timer 1
to remotely modify configure and give me a backdoor if I get it wrong. But I am seeing that when the timer fires, the configuration isn't restoring, and the configuration is then locked, and I can't change anything anymore.
I have archive set as follows:
archive path flash1:archive/config
I see this when I try and make a change
switch-3-test#configure terminal revert timer 1
Enter configuration commands, one per line. End with CNTL/Z.
switch-3-test(config)#hos switch-3-test(config)#hostname Mar 23 06:37:22.465: %ARCHIVE_DIFF-5-ROLLBK_CNFMD_CHG_BACKUP: Backing up current running config to flash1:archive/configMar-23-06-37-20.267-2 Mar 23 06:37:22.465: %ARCHIVE_DIFF-5-ROLLBK_CNFMD_CHG_START_ABSTIMER: User: Unknown: Scheduled to rollback to config flash1:archive/configMar-23-06-37-20.267-2 in 1 minutes Mar 23 06:37:22.474: %ARCHIVE_DIFF-5-ROLLBK_CNFMD_CHG_WARNING_ABSTIMER: System will rollback to config flash1:archive/configMar-23-06-37-20.267-2 in one minute. Enter "configure confirm" if you wish to keep what you've configuredman-switch-2 switch-2(config)#exit switch-2# Mar 23 06:37:31.986: %SYS-5-CONFIG_I: Configured from console by vty0 (172.16.101.51) switch-2# switch-2#show configuration lock
Then after a minute I see:
Mar 23 06:38:22.469: %ARCHIVE_DIFF-5-ROLLBK_CNFMD_CHG_ROLLBACK_START: Start rolling to: flash1:archive/configMar-23-06-37-20.267-2 Mar 23 06:38:22.486: Rollback:Acquired Configuration lock.
But the configuration doesn't rollback.
If I try and edit the configuration later I see:
Configuration mode locked exclusively by user 'unknown' process '13' from terminal '0'. Please try later.
And I also see:
switch-2#show configuration lock Parser Configure Lock --------------------- Owner PID : 13 User : unknown TTY : 0 Type : EXCLUSIVE State : LOCKED Class : ROLLBACK Count : 1 Pending Requests : 0 User debug info : Rollback Session idle state : TRUE No of exec cmds getting executed : 0 No of exec cmds blocked : 0 Config wait for show completion : FALSE Remote ip address : Unknown Lock active time (in Sec) : 1351 Lock Expiration timer (in Sec) : 4293524
Which leaves me unable to change anything without a reload.
Version is:
Switch Ports Model SW Version SW Image ------ ----- ----- ---------- ---------- * 1 26 WS-C3750-24P 12.2(55)SE12 C3750-IPSERVICESK9-M
Any thoughts on what I might be doing wrong?
Thanks,
Mark
- Labels:
-
Other Routers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2020 04:12 PM
Did you find a solution to this ? I have the exact same issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2020 11:44 PM
Hello,
what if you globally configure:
no configuration mode exclusive auto
and then
configuration mode exclusive manual
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2020 10:31 AM
I cant even get into configuration mode to run this.
I have this enabled:
archive
path flash:/archive/
maximum 1
!
configure terminal revert timer 1
creates the backup
switch(config)#int gi1/0/1 switch(config-if)#des 1111
I wait 60 seconds, nothing happens....
exit config mode and run
switch#show configuration lock
Parser Configure Lock
---------------------
Owner PID : 13
User : unknown
TTY : 0
Type : EXCLUSIVE
State : LOCKED
Class : ROLLBACK
Count : 1
Pending Requests : 0
User debug info : Rollback
Session idle state : TRUE
No of exec cmds getting executed : 0
No of exec cmds blocked : 0
Config wait for show completion : FALSE
Remote ip address : Unknown
Lock active time (in Sec) : 621
Lock Expiration timer (in Sec) : 4151632
try to go back into config mode:
gives:
Configuration mode locked exclusively by user 'unknown' process '13' from terminal '0'. Please try later.Rollback confirmed change timer is cancelled due to configuration lock error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2020 10:46 AM
Hello,
what if you reboot the switch, can you get into configuration mode then ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2020 12:12 PM
Yes, a reboot will release it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2020 12:28 PM
Hello,
I guess what I am after is if after the reboot, you actually can configure what I suggested before...?
no configuration mode exclusive auto
and then
configuration mode exclusive manual
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2020 02:22 PM
Yes i can, however it doesn't have any impact on trying to have the revert timer work either on a hard second timer or idle timeout.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2020 02:01 AM
Hello
When you inicated archive did you create an inital archive for rollback to succeed?
conf t
archive
path xxxx
end
archive config
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2020 09:33 AM
I didnt, however, when i run
configure terminal revert timer 1
the switch creates one before allowing further commands.
