cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
244
Views
0
Helpful
1
Replies

Cannot access via telnet

vlad06_2013
Level 1
Level 1

Hey,

I have been configuring a router via telnet and all of a sudden I have locked myself out and the admin login credentials I have been using are not working.

 

The last commands I remember issuing were:

 

line vty 0 4

password xxxxxxxxxxx

login authentication default

 

What does the login authentication default command do?

 

Can anybody please help? 

1 Reply 1

nkarthikeyan
Level 7
Level 7

Hi,

 

This enables you the local authentication for your vty access. But you should have the respective AAA configuration for authentication created prior giving this command. Something like the below example..

Router>enable
Router#configure terminal
Router(config)#aaa new-model
Router(config-if)#aaa authentication login default local
Router(config)#line vty 0 4
Router(config-line)#login authentication default
Router(config-line)#end
 
Hope this clarifies your query
 
 
Regards
Karthik