10-28-2024 01:51 PM
Hello All,
Kindly I need to help to configure TACACS+ (ISE) on a catalyst switch 9500. The 9500 has 2 vrfs and in the aaa group I specified the vrf and the source-interface.
I could successfully login to the switch but can not run any command. it gives me "Authorization Failed" and in ISE the logs show that the command was authorized successfully.
Any suggestions would be helpful.
Thank you,
Solved! Go to Solution.
10-29-2024 03:43 AM
Hi,
Command authorization fails as within your config you're referencing globally configured TACACS servers which don't exist, your configuration uses aaa group settings. Perform following changes and it will work:
no aaa authorization commands 0 default group tacacs+ local
no aaa authorization commands 1 default group tacacs+ local
no aaa authorization commands 15 default group tacacs+ local
!
aaa authorization commands 0 default group Group_Name local
aaa authorization commands 1 default group Group_Name local
aaa authorization commands 15 default group Group_Name local
Best,
Cristian.
10-28-2024 01:54 PM
aaa group server tacacs+ group-name
server-private {ip-address | name} [nat] [single-connection] [port port-number] [timeout seconds] [key [0 | 7] string]
ip vrf forwarding vrf-name
ip tacacs source-interface
Do config as above
MHM
10-28-2024 02:07 PM
10-28-2024 02:12 PM
Can I see the full config
MHM
10-28-2024 09:52 PM
As I see you don't use server-private command under group?
Check config I share above
MHM
10-28-2024 02:26 PM
Hi,
Please share complete AAA config, as well as VTY lines and console config, as well as print-screen with ISE TACACS log message.
Best,
Cristian.
10-28-2024 07:50 PM
Here is the configuration
switch1#sh run | sec aaa
aaa new-model
aaa local authentication attempts max-fail 10
aaa group server tacacs+ (Group-Name)
server name ise-name1
server name ise-name2
ip vrf forwarding vrf-name
ip tacacs source-interface Loopback0
aaa authentication login default group Group_Name local
aaa authentication login synchronization none
aaa authorization config-commands
aaa authorization exec default group Group_Name if-authenticated
aaa authorization commands 0 default group tacacs+ local
aaa authorization commands 1 default group tacacs+ local
aaa authorization commands 15 default group tacacs+ local
aaa accounting update newinfo
aaa accounting exec default start-stop broadcast group Group-Name
aaa accounting commands 1 default start-stop broadcast group Group-Name
aaa accounting commands 15 default start-stop broadcast group Group-Name
aaa session-id common
tacacs server ise-name1
address ipv4 IP
key 7 Key
tacacs server ise-name2
address ipv4 IP
key 7 Key
Thank you,
10-29-2024 03:43 AM
Hi,
Command authorization fails as within your config you're referencing globally configured TACACS servers which don't exist, your configuration uses aaa group settings. Perform following changes and it will work:
no aaa authorization commands 0 default group tacacs+ local
no aaa authorization commands 1 default group tacacs+ local
no aaa authorization commands 15 default group tacacs+ local
!
aaa authorization commands 0 default group Group_Name local
aaa authorization commands 1 default group Group_Name local
aaa authorization commands 15 default group Group_Name local
Best,
Cristian.
10-29-2024 07:53 AM
Thank you @Cristian Matei . It solved the issue.
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