12-20-2006 07:13 PM - edited 03-10-2019 02:53 PM
Hi All,
I have a problem at the moment logging into a router while the WAN is offline. TACACS+ works fine when the WAN is up but when its down i get prompted for a password which i enter and then get authorisation failed...
Here is the AAA config
aaa authentication login default group tacacs+ enable
aaa authorization config-commands
aaa authorization exec default group tacacs+
aaa accounting exec default start-stop group tacacs+
aaa accounting commands 1 default start-stop group tacacs+
aaa accounting commands 15 default start-stop group tacacs+
aaa accounting network default start-stop group tacacs+
aaa accounting connection default start-stop group tacacs+
aaa accounting system default start-stop group tacacs+
Solved! Go to Solution.
12-21-2006 07:39 AM
Specifying local as a backup method for authorization may get around this problem, but does it not require that local user IDs and passwords be configured? Since the authentication login did not use the local IDs as backup I wonder about the logic of doing this for authorization. I have had good success by configuring authorization like this:
aaa authorization exec default group tacacs+ if-authenticated
which will bypass authorization processing if TACACS is not available and if the user has successfully authenticated.
HTH
Rick
12-20-2006 07:31 PM
Try adding 'local' to the end of line:
aaa authorization exec default group tacacs+ local
The 'local' refers to the local database for authorization.
12-21-2006 07:39 AM
Specifying local as a backup method for authorization may get around this problem, but does it not require that local user IDs and passwords be configured? Since the authentication login did not use the local IDs as backup I wonder about the logic of doing this for authorization. I have had good success by configuring authorization like this:
aaa authorization exec default group tacacs+ if-authenticated
which will bypass authorization processing if TACACS is not available and if the user has successfully authenticated.
HTH
Rick
12-21-2006 02:51 PM
Thanks for that Rick, Your logic is correct and it has fixed my problem. Much appreicated.
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