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.

New Member

problem to telnet a router when only aaa new-model command added

Hello all,

I have a router 2500 running ios version c2500-i-l_112-16.

the router is configured as follow to allow telnet session :

...

enable password *****

!

line vty 0 4

password ******

login

...

I added the command line "aaa new-model" to check the aaa command available with this IOS version.

I left the routeur without configuring any aaa command but i forgot to remove

the command "aaa new-model".

Now, when we are trying to telnet the router we are prompted to enter

username and not the vty login password.

Therefore i am not able to log into the router anymore.

How can this is possible and how can i telnet the router ?

Is there any workaround to bypass this ?

Thanks in advance for your help.

Amar.

2 REPLIES
New Member

Re: problem to telnet a router when only aaa new-model command a

Once you enable aaa new-model, then by default, the router will use local authentication. Consequently, the easiest thing to do is create a local user:

username barney password rubble

Alternatively, you could just configure no authentication:

aaa authentication login default none

Now, there is no way to telnet into the router until you reconfigure it, as described above.

In order to reconfigure, you will need physical access, and you will need to execute the password recovery procedure for your router type:

http://www.cisco.com/warp/public/474/

Of course, if you did not yet save the config (just exited), you could just reboot :)

HTH

Jeff

New Member

Re: problem to telnet a router when only aaa new-model command a

Thank you Jeff for your support.

I have rebooted the router since the configuration was not saved.

There were no username configured locally so :-(

Best regards,

Amar.

225
Views
0
Helpful
2
Replies
CreatePlease to create content