02-28-2025 08:34 AM
Hello,
I'm working on getting our 3850 and 9000 series switches changed over to TACACS+ authentication using ISE 3.1 and DUO for MFA. I followed this article:
It's working, but when I SSH to a switch and put in my credentials, I only have a few seconds before the switch logon says
End of keyboard-interactive prompts from server
Access denied
If I have my mobile device in my hand and immediately click on the DUO push, it lets me in. If I take a couple of seconds to pick up my device, unlock the screen, and accept the DUO push, the logon has already timed out on the switch. ISE and DUO logs show the successful authentication and authorization, but the switch still sits at the Password: prompt. If I put my password in again and immediately accept the DUO push, I can get in.
How can we adjust this login timeout period to give us a more reasonable time frame, say 10-20 seconds instead of 5, to accept the DUO push?
Thanks,
-Mike
Solved! Go to Solution.
02-28-2025 10:56 AM
Answering my own question here in case someone else runs into the same issue.
If I ran
test aaa group tacacs+ username password legacy
I would get the DUO push on my phone and the switch would say no response received from tacacs server if I waited 5 seconds. If I accepted the DUO push immediately, the test would successfully authenticate.
On the 3850 I was testing with, there was a default "tacacs-server timeout 5" that does not show up in running-config unless you show running-config all. I set that value to 30 and now it is behaving as expected.
02-28-2025 10:56 AM
Answering my own question here in case someone else runs into the same issue.
If I ran
test aaa group tacacs+ username password legacy
I would get the DUO push on my phone and the switch would say no response received from tacacs server if I waited 5 seconds. If I accepted the DUO push immediately, the test would successfully authenticate.
On the 3850 I was testing with, there was a default "tacacs-server timeout 5" that does not show up in running-config unless you show running-config all. I set that value to 30 and now it is behaving as expected.
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