Brown Belt: ISE Device Administration: NADs, Policy Sets and TACACS+
Before ISE can answer a switch, it has to know the switch exists. This lesson covers the part of ISE that every other ISE lesson assumes: defining Network Access Devices and grouping them, then uses that foundation to build TACACS+ device administration end to end, so that who can log in to your switches, and what they can type once there, is decided centrally.
Part 1: Network Access Devices
A NAD is anything that sends ISE a RADIUS or TACACS+ request: switches, wireless controllers, firewalls, routers, VPN headends. ISE drops requests from unknown IPs on the floor, and the live log shows 11007 Could not locate Network Device or AAA Client. Defining the device is step zero.
Network Device Groups first
Under Administration → Network Resources → Network Device Groups, ISE ships two root groups, Location and Device Type, and lets you add your own. Groups are hierarchical and every device belongs to exactly one node in each tree. Policy conditions key on them, so design the trees before adding devices:
| Group tree | Example hierarchy | What policy uses it for |
|---|---|---|
| Location | All Locations → Omaha → Omaha-HQ, Omaha-DC; All Locations → Branches → ... | Different VLANs per site, different admin groups per region. |
| Device Type | All Device Types → Switch → Catalyst-Access, Nexus-DC; → WLC; → Firewall | Switch ports get dACLs; WLCs get airespace attributes; TACACS+ command sets differ for Nexus vs Catalyst. |
| Custom: Stage | Prod, Lab, Monitor-Mode | Lab devices hit a permissive policy set; monitor-mode devices get permit-all authorization while you tune. |
Adding the device
Administration → Network Resources → Network Devices → Add. The fields that matter:
| Field | Notes |
|---|---|
| Name, IP address | IP can be a single host, a range, or a subnet with mask. Use the address the device actually sources AAA from (its loopback or management interface), not a random SVI. Match it with ip radius source-interface / ip tacacs source-interface on the device. |
| Device Profile | Cisco for IOS XE and NX-OS; other vendors have their own profiles that control CoA format and attribute dictionaries. |
| Network Device Groups | Location, Device Type, and any custom trees. |
| RADIUS Authentication Settings | Tick it. Shared secret; CoA port (1700 for Cisco). Optionally enable KeyWrap or RadSec/DTLS. |
| TACACS Authentication Settings | Tick it. Separate shared secret. Single Connect Mode keeps one TCP session open for all requests from a device, which is faster for command authorization. |
| SNMP Settings | Optional; lets ISE profiling query the switch's CDP/LLDP/MAC tables. |
Hundreds of switches? Do not click
Import from CSV (Network Devices → Import, download the template first), or use the ERS/OpenAPI REST interface. A default device entry (Default Device on the same page) accepts any unknown NAD with one shared secret; it is fine for a lab and a bad idea in production, because it means any device that learns the secret can ask ISE questions.
Part 2: Enabling Device Administration
TACACS+ in ISE is a separate service. Two prerequisites:
- A Device Administration licence on the deployment.
- Device Admin Service enabled on at least one Policy Service Node: Administration → System → Deployment → edit the node → tick Enable Device Admin Service.
Once enabled, everything lives under Work Centers → Device Administration. The structure mirrors network access: a policy set, an authentication policy choosing the identity store, and an authorization policy returning results. The results are what differ.
Part 3: Results: TACACS profiles and command sets
Under Work Centers → Device Administration → Policy Elements → Results:
TACACS Profiles (shell authorization)
A profile is what the user gets at login. For IOS XE the important attributes are Default Privilege (the level they land at) and Maximum Privilege (the highest they can enable to). Custom attributes cover other platforms: Nexus wants shell:roles="network-admin" (or network-operator), WLCs want role1=ALL, and ASA wants priv-lvl=15.
| Profile | Attributes | For |
|---|---|---|
| NetAdmin-IOS | Default privilege 15, max 15 | Network team on Catalyst. |
| NetAdmin-NXOS | shell:roles="network-admin" | Network team on Nexus (NX-OS uses roles, not levels). |
| ReadOnly-IOS | Default privilege 1, max 1 | NOC, help desk, auditors. |
| ReadOnly-NXOS | shell:roles="network-operator" | Same, on Nexus. |
TACACS Command Sets (command authorization)
A command set is an ordered list of grant / deny / deny-always rules, each matching a command and an argument regex, plus a checkbox Permit any command that is not listed. Deny-always wins over a grant in any other command set applied to the same session, which is how you make reload unavailable to everyone but one group.
| Command set | Rules |
|---|---|
| PermitAll | Permit any command not listed: on. No rules. |
| ShowOnly | Permit show args .*; permit ping, traceroute, exit, terminal. Permit any not listed: off. |
| NoDestructive | Deny-always reload; deny-always write args erase; deny-always erase; deny-always delete args .*(flash|bootflash).*. Permit any not listed: on. |
Config-mode commands are commands too
With aaa authorization config-commands on the switch, every line typed in configuration mode is also sent to ISE for authorization. A ShowOnly user then cannot enter configure terminal at all, which is the point. A profile that grants privilege 15 but a command set of ShowOnly is a valid combination: the user has the prompt but not the verbs.
Part 4: The Device Admin policy set
Work Centers → Device Administration → Device Admin Policy Sets. Build one policy set per platform family, because the profiles differ:
- Policy set "Catalyst-Admin": condition
DEVICE:Device Type EQUALS All Device Types#Switch#Catalyst-Access. Allowed protocols: Default Device Admin (PAP/ASCII and CHAP are fine; TACACS+ carries them inside its encrypted body). - Authentication policy: one rule, identity store = your Active Directory join point (or an identity source sequence that tries AD then internal users). "If user not found: Reject."
- Authorization policy, top down:
| Rule | Condition | Shell profile | Command sets |
|---|---|---|---|
| Network-Admins | AD group NetOps-Admins | NetAdmin-IOS | PermitAll |
| Network-Engineers | AD group NetOps-Engineers | NetAdmin-IOS | NoDestructive |
| NOC | AD group NOC-ReadOnly | ReadOnly-IOS | ShowOnly |
| Default | everything else | Deny All Shell Profile | DenyAllCommands |
Clone the set for Nexus-DC with the NX-OS profiles. Lab devices can get a third set with a looser default so you are not locked out while testing.
Part 5: Switch configuration
IOS XE (Catalyst 9300)
aaa new-model
!
tacacs server ISE-PAN-1
address ipv4 10.20.0.11
key <tacacs-secret>
timeout 5
tacacs server ISE-PAN-2
address ipv4 10.20.0.12
key <tacacs-secret>
timeout 5
aaa group server tacacs+ ISE-TACACS
server name ISE-PAN-1
server name ISE-PAN-2
ip tacacs source-interface Loopback0
!
aaa authentication login default group ISE-TACACS local
aaa authentication enable default group ISE-TACACS enable
aaa authorization exec default group ISE-TACACS local if-authenticated
aaa authorization commands 1 default group ISE-TACACS local if-authenticated
aaa authorization commands 15 default group ISE-TACACS local if-authenticated
aaa authorization config-commands
aaa accounting exec default start-stop group ISE-TACACS
aaa accounting commands 1 default start-stop group ISE-TACACS
aaa accounting commands 15 default start-stop group ISE-TACACS
!
username breakglass privilege 15 secret <long-local-password>
enable secret <enable-password>
!
line vty 0 15
transport input ssh
exec-timeout 15 0
Explanation: login authenticates the SSH user; exec authorization fetches the shell profile (privilege level); commands 1 and commands 15 send each command for authorization at those levels; config-commands extends that into configuration mode. Every method list falls back to local so the breakglass account works when both ISE nodes are down. if-authenticated means that if TACACS+ is unreachable but the user got in via local login, authorization succeeds instead of dumping them to a dead prompt.
NX-OS (Nexus 9000)
feature tacacs+
!
tacacs-server host 10.20.0.11 key 7 <encrypted-secret>
tacacs-server host 10.20.0.12 key 7 <encrypted-secret>
tacacs-server timeout 5
aaa group server tacacs+ ISE-TACACS
server 10.20.0.11
server 10.20.0.12
use-vrf management
source-interface mgmt0
!
aaa authentication login default group ISE-TACACS local
aaa authentication login console local
aaa authorization commands default group ISE-TACACS local
aaa authorization config-commands default group ISE-TACACS local
aaa accounting default group ISE-TACACS
Explanation: NX-OS has no privilege levels; the shell profile's shell:roles attribute maps the user to a built-in or custom role. use-vrf management is required when ISE is reached over mgmt0. Keeping the console on local guarantees you can always get in from the serial port.
Order of operations when rolling out
Add the device in ISE first, then configure the switch in a second SSH session while the first one stays open. Test the new login in a third session. If anything is wrong you still have a working session to fix it. Never test AAA changes from the only session you have.
Verify
Switch# test aaa group ISE-TACACS jdoe <password> legacy
Attempting authentication test to server-group ISE-TACACS using tacacs+
User was successfully authenticated.
Switch# show tacacs
Tacacs+ Server - public : ISE-PAN-1
Server address: 10.20.0.11
Server port: 49
Socket opens: 42
Socket closes: 41
Total Packets Sent: 318
Total Packets Recv: 318
Switch# show aaa servers
Switch# show privilege
Switch# debug tacacs ! short-lived, then undebug all
Nexus# show tacacs-server statistics 10.20.0.11
Nexus# show user-account
Nexus# show aaa authentication
On ISE, Operations → TACACS → Live Logs shows one line for the authentication, one for the shell authorization, and one for every command. Click the detail to see which policy set, which rule, which command set, and the exact command string that was permitted or denied. If a user complains that a command "does nothing", this log tells you which deny rule caught it.
Summary
- Define every NAD in ISE with the IP it sources AAA from; organise them with Network Device Groups so policy can key on location, type and stage.
- RADIUS and TACACS+ secrets are separate fields on the same device entry.
- Device Administration needs its licence and the service enabled on a PSN.
- Results are shell profiles (privilege level or NX-OS role) plus command sets (permit/deny per command, deny-always wins).
- On the switch: authenticate login, authorize exec and commands, account for everything, and always leave a local fallback and a local console.