cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1033
Views
1
Helpful
12
Replies

Why am I prompted for username and password even though I input these

Iloveyou
Level 1
Level 1

commands?

aaa authentication login default group tacacs+ local
aaa authentication login console local
aaa authorization network default group tacacs+

line con 0
exec-timeout 5 0
stopbits 1

There is nothing configured under line con 0, so why am i prompted for username and password after restart? 

12 Replies 12

When you config aaa by default any vty have 

Authentication defualt command.

This command is make vty use aaa for auth

Try show running all to see this command

What is the difference between these 2 commands then (if aaa is automatically pushed to console and vty):

aaa authentication login default group tacacs+ local
aaa authentication login console local

The second command creates a "group" console that can be used and uses local users for login. The first applys tacacs+ (secondary local) login for all the logins.

BR

****Kindly rate all useful posts*****

MHM

But my line console0 is like this:

line con 0
exec-timeout 5 0
stopbits 1

So why am I requested for username and password?

MHM

But I didn't put login or login local under line console 0, so why is it prompting me for username and password?

MHM

but i never put ANYTHING under line console 0, so why it ask me for username and password?

MHM

MHM

DanielP211
VIP Alumni
VIP Alumni

You have aaa configured so it will take this configuration by default on vty and console. Use no login under line con 0 to disable it.

BR

****Kindly rate all useful posts*****