04-18-2014 03:08 PM - edited 03-07-2019 07:08 PM
Hello,
What causes a router or switch to prompt for username and password when you vty as oppose to vty into switch and going straight to the enable password. Whats commands make the user get prompt for username or password when vty into switch?
Thanks,
04-18-2014 05:56 PM
You enable AAA. So when you console and/or remotely access the appliance, you'll get prompted with a username, password and enable password.
Alternatively you can configure a static username/password:
config t
username <USERNAME> password <PASSWORD>
enable secret <ENABLE PASSWORD>
service password encryption
end
04-18-2014 06:37 PM
What commands do you use to configure aaa for been prompt for username and password?
04-19-2014 05:30 PM
Go here and choose your the choices base on the appliance model.
04-18-2014 11:11 PM
First you need to enable e AAA when you want to remotely access the appliance,
no enable secret
no enable password
no username <User Name >
enable secret <password >
username admin privilege 15 secret <password >
tacacs-server host <Host IP>
tacacs-server directed-request
tacacs-server key <Key>
aaa new-model
aaa authentication login default group tacacs+ local line enable
aaa authentication enable default group tacacs+ enable
aaa authorization exec default group tacacs+ if-authenticated
aaa accounting exec default start-stop group tacacs+
aaa accounting commands <acces level num>default stop-only group tacacs+
aaa accounting system default stop-only group tacacs+
Alternatively you can configure a static username/password:
config t
username <USERNAME> password <PASSWORD>
enable secret <ENABLE PASSWORD>
service password encryption
end
04-20-2014 06:20 AM
when you just enable a command "aaa new-model", all your lines except console start asking for username and password for authentication.
"Please rate helpful posts"
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