This guide follows the Cisco ISE session I give to engineers who are new to network access control. If you understand the eleven ideas below, you can follow almost any ISE design discussion or interview question.
New to the topic? Start with Cisco ISE in Four Pictures.
What Cisco ISE is
Cisco Identity Services Engine (ISE) is a policy server. Switches, wireless controllers, VPN gateways and firewalls ask it one question, many times a second: should this user or device be allowed in, and with what access? Because one system answers for wired, wireless and VPN, the rules are the same everywhere and are managed in one place.
AAA: the three jobs
| Job | Question it answers | Example |
|---|---|---|
| Authentication | Who are you? | Username and password, a certificate, or a device MAC address |
| Authorization | What may you do? | Put the user in VLAN 30 and apply an access list |
| Accounting | What did you do? | Login time, session length, commands typed |
Authentication always comes first. Authorization uses its result plus other conditions: the group the user belongs to, the type of device, where it connected and whether it meets the security requirements.
RADIUS and TACACS+
ISE speaks two protocols, and the most common interview question in this area is the difference between them.
| RADIUS | TACACS+ | |
|---|---|---|
| Main use | Users and devices joining the network | Engineers managing network devices |
| Transport | UDP 1812 (authentication), 1813 (accounting) | TCP 49 |
| Encryption | Only the password field | The whole payload |
| AAA | Authentication and authorization combined in one reply | Authentication, authorization and accounting are separate |
| Command control | No per-command authorization | Each command can be allowed or denied |
| Standard | Open standard | Developed by Cisco, widely supported |
A simple way to remember it: RADIUS decides who gets onto the network. TACACS+ decides who may configure it.
Where ISE gets identities from
ISE rarely stores users itself. It checks them against identity sources you already have.
- Active Directory: the most common. ISE joins the domain, checks credentials and reads group membership, so a policy can say "members of the Finance group get the Finance VLAN".
- LDAP: for directories other than Active Directory.
- SAML identity providers: for web sign-in, such as guest and sponsor portals.
- Certificates: ISE validates the certificate a device presents and can read identity fields from it.
- Internal users and endpoints: a small local database, useful for labs and for device MAC addresses.
An identity source sequence lets ISE try several sources in order.
802.1X: the preferred way in
With 802.1X a device must authenticate before the switch port or wireless session passes normal traffic. Three roles are involved:
| Role | What it is | In practice |
|---|---|---|
| Supplicant | Software on the device that presents credentials | Built into Windows, macOS, iOS, Android |
| Authenticator | The device that controls the port | Switch or wireless controller |
| Authentication server | Makes the decision | Cisco ISE |
The supplicant and authenticator speak EAP over the LAN. The authenticator wraps those EAP messages inside RADIUS and forwards them to ISE. ISE replies with Access-Accept or Access-Reject, and an accept can carry instructions such as a VLAN or a downloadable access list. The step-by-step flow is in 8021X Explained.
MAB: for devices that cannot do 802.1X
Printers, cameras, badge readers and many IoT devices have no supplicant. For these the switch waits for 802.1X to time out, then sends the device MAC address to ISE as if it were a username. This is MAC Authentication Bypass.
Remember: a MAC address is easy to copy, so MAB proves very little. Always give MAB devices the smallest access they need, and combine MAB with profiling.
Profiling: knowing what a device is
Profiling is how ISE works out that a MAC address belongs to a printer and not a laptop pretending to be one. It collects clues such as the vendor part of the MAC address, DHCP options, CDP and LLDP information, and HTTP user agents, then matches them to a device profile. Authorization rules can then say "if it profiles as an IP phone, put it in the voice VLAN".
How an authorization policy reads
ISE policies are read top to bottom, first match wins, in this shape:
IF the user is in the Engineering group AND the device is a company laptop AND it connected by wired 802.1X
THEN apply the Engineering authorization profile (VLAN, access list, security group tag).
The conditions are the context: who, what device, where, when and how. The result is an authorization profile. Put the most specific rules at the top and finish with a default rule that gives limited or no access.
Device administration with TACACS+
For engineers logging in to network devices, ISE returns two things:
- Shell profile: what the session looks like, most importantly the privilege level (for example 15 for full access, 1 for read-only).
- Command set: the list of commands this group may or may not run. A help desk group might be allowed every
showcommand and nothing else.
Every command is sent to ISE for accounting, so there is a record of who changed what and when.
Logging and reports
The first place to look when something fails is the live log (Operations, RADIUS, Live Logs). Each line shows the identity, the device, the policy rules that matched and, for a failure, the reason. Most problems are solved from that one screen. Reports built on the same data cover audits and compliance.
Six mistakes I see most often
- Shared secret on the switch does not match the one in ISE. Nothing appears in the live log, or you see "invalid shared secret".
- The switch is not added to ISE as a network device, so ISE silently drops its requests.
- The ISE server certificate is not trusted by clients, so PEAP or EAP-TLS fails before a password is ever checked.
- Rules in the wrong order: a general rule above a specific one.
- Rolling out in closed mode on day one. Start in monitor mode, fix what would have failed, then tighten.
- Clock differences between ISE and Active Directory. Joining the domain and Kerberos both depend on accurate time.
Check yourself
- Which protocol would you use to control which commands an engineer can type on a router, and why?
- A printer cannot run a supplicant. Name the two ISE features that together let it onto the network safely.
- In 802.1X, which device talks RADIUS to ISE: the laptop or the switch?
- Authentication succeeded but the user is in the wrong VLAN. Which policy do you look at?
Answers: 1. TACACS+, because it authorizes each command separately and encrypts the whole payload. 2. MAB and profiling. 3. The switch (the authenticator). 4. The authorization policy.
Keep the Cisco ISE cheat sheet open while you practise.
0 Comments
Post a Comment