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

Cannot access via telnet

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

Hi, This enables you the

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
 
73
Views
0
Helpful
1
Replies
CreatePlease to create content