cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
25973
Views
5
Helpful
12
Replies

How to unlock configuration terminal ?? (ASR1002) [SOLVED]

Well , I was trying some experimentation with the "archive" features , creating configuration files and  roll-back action , but sudently the current config went to locked state.

Now I can not make any change .... And I don't know how to unlock it again , all the documentation show how to set manual or auto lock mode, but don't show how to unlock it.

So ... How in my country we say "Im in the oven".

Take a look:

asr1002#show configuration lock
Parser Configure Lock
---------------------
Owner PID                        : 14
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)        : 8658     <========This time is growing  (sounds rational)!!!
Lock Expiration timer (in Sec)   : 600 <================This is NOT going down (is my terminal going to be unabe to configure for ever?).

Hope to receive some help,

Thanks!!!

Leo.

12 Replies 12

Also ... following command doesnt work.

asr1002#clear configuration lock

autocomplete leads up to configuration+lock , from global mode.

nothing on config mode.

I logout ... then came back ....

---------------------
Owner PID                        : 14
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)        : 24841               <=========still growing.
Lock Expiration timer (in Sec)   : 600         <==========Nothing ....

OMG!!!

Are you able to see the running-config? If so, capture it to a text file then do a config wipe and start again.

Dear mfurnival,  Yes Im able to see the running config.

What you mean with "do a config wipe" ?

I was think just to reset using "reload" command.

Leo.

Hello - is this a "production" device? i.e. will lots of people get angry with you if you reboot it?

My thinking was that you could save the config, reboot the router and break into rommon and set the config register to boot up without a config ( see

http://www.cisco.com/en/US/products/hw/routers/ps130/products_password_recovery09186a0080093e0e.shtml ) and then reapply your configuration minus any configuration lock lines.

Yes ,unfortunately  it is a production device, I was going to run "reload" command ruring a non working time.

Meanwhile I will take a look to the config file to find a "locking line".

It is a kind of bug?? .... is not posible to unlock without reboot ? maybe killing the locking process/tty ...

Thanks mfurnival.

Leandro.

Leandro,

I don't know to be honest - it is not a command I have come across before. It does not sound like correct behaviour to me though. Killing the process will not work - IOS does not really work in that fashion.

OK ..... solved.

Solution:

Access using console cable.

It seems that console terminal has priority over the other sessions so , after access to configuration console , configuration was unlocked.

Thanks.

Once you went into console mode. What commands did you execute. 

run command ---show configuration lock
then kick them out with clear line tty x -- whatever tty number they have in the show configuration lock , try that

Hi ,

 

Im getting the same errors on nexus N7000  switch,

# show configuration lock
^
% Invalid command at '^' marker.

 

getting this error while giving that command,

 

# copy running-config startup-config
Configuration update aborted: system not ready

 

# config t
Configuration locked. Ascii config in progress.

Please help me

 

 

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: