Brown Belt: Cisco ISE: 802.1X, MAB and the Policy Set Flow
Network access control has three parties: the device asking, the switch asking on its behalf, and ISE deciding. Most confusion comes from not knowing which of the three is doing what at each step. This lesson walks a single port through 802.1X and MAB, configures a Catalyst 9300 as the authenticator, and traces the request through an ISE policy set.
Roles and vocabulary
| Term | Meaning |
|---|---|
| Supplicant | Software on the endpoint that speaks EAP: the native Windows/macOS supplicant, or Cisco Secure Client. |
| Authenticator (NAD) | The switch or WLC. It relays EAP between the endpoint and ISE inside RADIUS, and enforces the result on the port. |
| Authentication server | ISE. It terminates EAP, checks the identity, and returns Access-Accept with authorization attributes, or Access-Reject. |
| EAP-TLS | Certificate on the endpoint, certificate on ISE. Strongest, no passwords, needs a PKI. |
| PEAP-MSCHAPv2 | Username and password inside a TLS tunnel. Easy to deploy, tied to AD, being phased out as Windows credential guard blocks it. |
| MAB | MAC Authentication Bypass. For printers, cameras, phones with no supplicant: the switch sends the MAC address as the username and ISE checks it against an endpoint group or a profiling policy. |
What happens on a port
- Link comes up. The switch sends EAP-Request/Identity and starts a timer.
- If a supplicant answers, the EAP conversation (TLS handshake or PEAP tunnel) is relayed to ISE in RADIUS Access-Request packets.
- If nobody answers after the timeout (tx-period × max-reauth-req), the switch gives up on 802.1X and, if MAB is configured, sends the MAC address as a RADIUS request instead.
- ISE returns Access-Accept with attributes (VLAN, downloadable ACL, SGT) or Access-Reject.
- The switch applies the attributes to the session and opens the port. Until then, only EAPOL (and anything you pre-authorize) passes.
Order vs priority
authentication order dot1x mab says what to try first. authentication priority dot1x mab says which result wins if both happen; a phone that passed MAB and then starts speaking 802.1X should be re-evaluated by 802.1X. Set both.
Catalyst 9300 configuration (IOS XE)
aaa new-model
aaa authentication dot1x default group radius
aaa authorization network default group radius
aaa accounting dot1x default start-stop group radius
!
radius server ISE-PSN-1
address ipv4 10.20.0.11 auth-port 1812 acct-port 1813
key <shared-secret>
!
radius-server dead-criteria time 10 tries 3
radius-server attribute 6 on-for-login-auth
radius-server attribute 8 include-in-access-req
radius-server attribute 25 access-request include
!
dot1x system-auth-control
ip device tracking
!
interface GigabitEthernet1/0/10
description User port
switchport mode access
switchport access vlan 10
switchport voice vlan 110
authentication host-mode multi-domain
authentication order dot1x mab
authentication priority dot1x mab
authentication port-control auto
authentication periodic
authentication timer reauthenticate server
authentication event fail action next-method
authentication event server dead action authorize vlan 10
authentication event server alive action reinitialize
mab
dot1x pae authenticator
dot1x timeout tx-period 7
dot1x max-reauth-req 2
spanning-tree portfast
Explanation: the aaa block sends authentication, authorization and accounting to ISE. multi-domain allows one data device and one voice device per port. tx-period 7 with max-reauth-req 2 means a device with no supplicant falls through to MAB in about 21 seconds instead of the 90-second default. The server dead line keeps users working if every ISE node is unreachable, by dropping them in the normal VLAN.
This is the classic syntax
Current IOS XE converts these commands to IBNS 2.0 (policy-map type control subscriber) on newer platforms with authentication convert-to new-style. The behaviour is the same; the config looks very different. Learn this form first, then read the converted output.
How ISE evaluates it: the policy set
A request lands in ISE and walks a tree:
- Policy set match. Conditions on the request itself, usually
Wired_802.1XorWired_MAB(built-in conditions that look at NAS-Port-Type and Service-Type), plus which allowed protocols list applies. Keep EAP-TLS, PEAP and MAB on separate policy sets so each can have a tight protocol list. - Authentication policy. Which identity store checks the credential: Active Directory for PEAP, a Certificate Authentication Profile for EAP-TLS, Internal Endpoints for MAB. The result is pass, fail, or "user not found", and each has an action (reject, continue, drop).
- Authorization policy. Top-down rules on who and what: AD group, endpoint identity group, device profile, certificate attributes, time, location. Each rule returns an authorization profile: the VLAN, dACL, SGT, or a redirect for posture or guest.
| Example authorization rule | Condition | Result |
|---|---|---|
| Corp-Workstations | Wired_802.1X AND AD group Domain Computers | PermitAccess, VLAN 10 |
| IP-Phones | Wired_MAB AND endpoint profile Cisco-IP-Phone | Voice domain permission, VLAN 110 |
| Printers | Wired_MAB AND endpoint group Printers | dACL PRINTERS-ONLY |
| Default | everything else | DenyAccess |
Roll out in monitor mode first
Set the default authorization rule to permit and the ports to authentication open for the first weeks. Every device still authenticates and ISE Live Logs shows you what would have been denied, without anyone losing access. Close the door once the exceptions are handled.
Verify
Switch# show authentication sessions interface Gi1/0/10 details
Interface: GigabitEthernet1/0/10
MAC Address: 0050.56a1.b2c3
IPv4 Address: 10.10.10.23
User-Name: host/WS-0423.example.com
Status: Authorized
Domain: DATA
Current Policy: POLICY_Gi1/0/10
Server Policies:
Vlan Group: Vlan: 10
Method status list:
Method State
dot1x Authc Success
Switch# show dot1x all summary
Switch# show mab all
Switch# test aaa group radius server 10.20.0.11 testuser testpass new-code
On the ISE side, Operations → RADIUS → Live Logs shows each attempt with the policy set, authentication rule and authorization rule that matched. When a device gets the wrong VLAN, the Live Log detail page tells you which rule it hit and why.
Try it: the authenticator side
Build the switch half of 802.1X on a simulated Catalyst 9300. ISE itself is not simulated; the show commands return what a healthy port looks like once ISE has answered. Type ? for options, help for the full list, or paste the whole block from the examples above. It is a simulator, not a real device, so nothing you do here can break anything.
Suggested run:
enable
configure terminal
aaa new-model
aaa authentication dot1x default group radius
aaa authorization network default group radius
aaa accounting dot1x default start-stop group radius
radius server ISE-PSN-1
address ipv4 10.20.0.11 auth-port 1812 acct-port 1813
key arpninja
exit
dot1x system-auth-control
ip device tracking
vlan 10
name Users
exit
vlan 110
name Voice
exit
interface range Gi1/0/1 - 8
switchport mode access
switchport access vlan 10
switchport voice vlan 110
authentication host-mode multi-domain
authentication order dot1x mab
authentication priority dot1x mab
authentication port-control auto
authentication periodic
authentication timer reauthenticate server
mab
dot1x pae authenticator
dot1x timeout tx-period 7
dot1x max-reauth-req 2
spanning-tree portfast
end
show authentication sessions
show authentication sessions interface Gi1/0/3 details
show dot1x all summary
show running-config
Summary
- Supplicant speaks EAP, the switch relays it in RADIUS, ISE decides and returns attributes.
- MAB is the fallback for devices without a supplicant; tune
tx-periodso they are not waiting 90 seconds. - ISE: policy set → authentication (which store) → authorization (which rule, which result).
- Deploy in monitor mode, read Live Logs, then enforce.