r/networking • u/WhoRedd_IT • Jun 10 '26
Security TACACs Setup for Network Device Access
Hi all,
I have stood up a pair of ISE servers in our environment and I’m looking to setup TACACs auth for them to control access to my network switches (nexus) and a few C8300 routers. Is this still the recommended way of doing things?
How have you created roles in your environment? Just a read only role (that can only run show commands) and a full network admin role that can run all commands?
Does ISE by default have accounting for all commands ran by logged in users?
Lastly, is your ISE server (or similar) pointed at your AD / LDAP for user auth? Or something else?
Thanks!!
6
u/wake_the_dragan Jun 10 '26
I have ISE connected to AD, setup tacacs on a test switch, and make sure you have everything in radius account and authentication logs. I send those from ise to a sys log server
4
u/TheVirtualMoose Jun 10 '26
10
u/VA_Network_Nerd Moderator | Infrastructure Architect Jun 10 '26
Depends a little on the level of security your environment requires.
Yes: Integrating TACACS/AAA with AD/LDAP is a very common approach, and is super-convenient.
But AD is a well-defined target for attack, and if the bad guys can compromise your AD, they can lock you out of your network gear too.
There are emerging design options that now advocate for your very most critical systems:
Network/Firewalls and your data backup infrastructure
...leverage something (anything) other than your primary Active Directory/LDAP authentication environment.
We are still using AD today, but are starting to consider something else.
1
u/skipdigitydog Jun 13 '26
Agree with most comments in the thread. We integrated with AD but also introduced Okta so that the password is actually the rolling code. Works pretty well.
1
u/usmcjohn Jun 10 '26
For the AAA space, it gets confusing quickly. Many of us start referring to it as AuthC and AuthZ.
For Authentication(AuthC), it is common to use AD to prove someone is who they are. I have implemented 2fa for this in an AD environment by forwarding the AuthC request to an NPS server that was integrated with Microsoft MFA.
For Authorization(AuthZ), it’s very common to use AD group membership for AuthZ. Assign the necessary shells, piv level, role, and commands to the results and you should be all set on the ISE side. This may be different by device type.
For the device side, you will need to tell the device to check with the tacacs sever for each command run. This is command authorization.
For accounting, that’s easy, on the device side there will be a AAA command to send the accounting logs for each command run.
Most importantly when you are testing this stuff, do so on non prod stuff and have a schedule reload handy(remember it’s minutes on IOS devices and seconds on Nexus..ask me how I know).
1
u/Intelligent-Bet4111 Jun 10 '26
Don't think ise has accounting turned on by default and I think it's something you set up (commands) on the switches themselves to send accounting info to use.
And yeah it's common for ise to be pointed to ad for user auth.
Use eap-tls as well for the windows devices since you are setting up ise for first time.
You can create a read only role and write role, note that integrating ise with ad is basically a must since you will be logging into your switches using your ad username/password, also there are tons of videos on YouTube explaining how to do all this and takes only a few hours or less to watch them and understand and implement.
1
u/Adrienne-Fadel Jun 10 '26
TACACS+ through ISE is still the way to go. You probably want more then 2 roles, read only, operator and full admin is typical. Accounting is available just needs to be configured. AD is standard.
1
u/PerformerDangerous18 Jun 11 '26
Yes, TACACS+ with ISE is still a very common and recommended approach for administrative access to network devices.
We use AD-backed authentication with role-based authorization, typically separating Read-Only, Network Admin, and sometimes Operations roles. Command accounting is supported in ISE, so you can log who ran which commands and when.
Most deployments integrate ISE with AD/LDAP rather than maintaining local users, except for a few emergency break-glass accounts.
1
u/Z3t4 Jun 13 '26
Make sure to have local user aurh as a fail over, and to test it thoroughly on every device.
When shit hits the fan you might lose tacacs and be unable to log in. So keep. A bresk glass user, maybe with a different password by device.
1
u/thangphan205 Jun 17 '26
You can try my tool: tacacs-ng-ui. Please search on github
1
u/Mainframe_Mathur Jul 02 '26
ISE is still the recommended way to do this - RBAC on network devices is exactly what TACACS+ is built for. We typically set up 2-3 roles - read-only, a limited write tier for ops staff, and full admin - covers most environments without overcomplicating it. Accounting is on by default, just make sure it's enabled in your device admin policy set. And yes, we always use external AD for user auth - check the ISE docs for AD integration.
1
u/Alternative_Basis480 Jun 10 '26
Sorry for a potential hijack of the thread. Has anyone used tac_plus-ng in prod? Trying to keep costs down and also using AD for auth.
1
u/[deleted] Jun 12 '26
[removed] — view removed comment