11-13-2023 10:05 PM
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?
11-13-2023 11:33 PM - edited 11-14-2023 10:59 PM
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
11-14-2023 07:43 PM
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
11-14-2023 09:38 PM
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
11-14-2023 11:05 PM - edited 01-08-2024 12:55 PM
MHM
11-15-2023 04:15 AM
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?
11-15-2023 07:53 AM - edited 01-08-2024 12:55 PM
MHM
11-16-2023 03:47 AM
But I didn't put login or login local under line console 0, so why is it prompting me for username and password?
11-16-2023 04:24 AM - edited 01-08-2024 12:56 PM
MHM
11-19-2023 02:25 AM
but i never put ANYTHING under line console 0, so why it ask me for username and password?
11-19-2023 02:38 AM - edited 01-08-2024 12:56 PM
MHM
11-14-2023 11:01 PM - edited 01-08-2024 12:57 PM
MHM
11-13-2023 11:39 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide