Create a named authenttication list, lets call it CONSOLE;
Switch(config)#aaa authentication login CONSOLE group tacacs+ local
Create a named authorization list, again called CONSOLE
Switch(config)#aaa authorization exec CONSOLE group tacacs+ local if-authenticated
Then apply the following under line con 0;
Switch(config-line)#login authentication CONSOLE
Switch(config-line)#authorization exec CONSOLE
Since local is defined as the secondary method of authentication/authorization be sure to have a local privilege 15 user defined in the event your tacacs server isn't available.
Switch(config)#username MYUSERNAME privilege 15 secret 0 MYPASSWORD
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
damova
5 years, 9 months agoaal
5 years, 5 months ago