茶

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

TermMeaning
SupplicantSoftware 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 serverISE. It terminates EAP, checks the identity, and returns Access-Accept with authorization attributes, or Access-Reject.
EAP-TLSCertificate on the endpoint, certificate on ISE. Strongest, no passwords, needs a PKI.
PEAP-MSCHAPv2Username and password inside a TLS tunnel. Easy to deploy, tied to AD, being phased out as Windows credential guard blocks it.
MABMAC 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

  1. Link comes up. The switch sends EAP-Request/Identity and starts a timer.
  2. If a supplicant answers, the EAP conversation (TLS handshake or PEAP tunnel) is relayed to ISE in RADIUS Access-Request packets.
  3. 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.
  4. ISE returns Access-Accept with attributes (VLAN, downloadable ACL, SGT) or Access-Reject.
  5. 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:

  1. Policy set match. Conditions on the request itself, usually Wired_802.1X or Wired_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.
  2. 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).
  3. 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 ruleConditionResult
Corp-WorkstationsWired_802.1X AND AD group Domain ComputersPermitAccess, VLAN 10
IP-PhonesWired_MAB AND endpoint profile Cisco-IP-PhoneVoice domain permission, VLAN 110
PrintersWired_MAB AND endpoint group PrintersdACL PRINTERS-ONLY
Defaulteverything elseDenyAccess

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-period so 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.