T Techclick ← HPE Aruba hub
HPE Aruba · WLAN / NAC · Session factory · Interactive lesson

Aruba is a session factory. Role, then ClearPass.

Ticket INC-4418: “Wi-Fi works, file share does not.” The laptop is on Corp. RSSI is −58 dBm. Someone already booked a site survey. That is not a missing radio. The factory associated the client, authenticated 802.1X or MAC, printed a role, and the role ACL denied TCP 445. This lesson is the official WLAN/NAC line — AP / controller → 802.1X or MAC → role → ClearPass enforcement — and the show user-table row that closes the ticket.

20 min read · L2 primary · Quiz at end · Dummy lab only · Blog 2 · Desk

After this page you can

Quick answer

An HPE Aruba campus is a WLAN/NAC session factory. The AP associates the radio. The controller or gateway is the authenticator. 802.1X or MAC proves who (or which device) is on the wire. The factory then prints a user role — from the AAA profile, a user-derived or server-derived rule, or a ClearPass stamp (Aruba-User-Role VSA or a downloadable role). The session ACL on that role is what PEF actually enforces. Success is the expected role in show user-table with a named role-how, plus datapath hits — not green Wi-Fi bars.

Say this out loud

I do not start with RSSI. I ask whether a user session formed, which role it became, who assigned that role, and which session ACL hit. Association is the radio. Accept is ClearPass. The role is the ticket. RF comes last.

1. Why association is not a session

Every other blog starts with SSIDs, AirMatch, and a screenshot of bars. That is why students freeze when the ticket says “Wi-Fi works, SMB does not.” The real object is the user session. Official wording: every client in a user-centric network is associated with a user role. All wireless clients start in an initial role. From that initial role they are placed into other roles as they pass authentication. Features — VAP, AAA profile, ClearPass, PEF — are only stations on that factory line.

Association proves the AP accepted the radio. 802.1X or MAC-auth proves who is on the wire. The role is what the box actually enforces. VLAN is where they landed. A client can be Associated on Corp, hold a DHCP address, and still sit in authenticated or logon with a session ACL that denies TCP 445. The green bars on the laptop do not override the role firewall.

Hero · the factory floor
Teaches: a laptop request walks AP, controller, role stamp, then ClearPass — not RSSI first
Notice: the factory does not “allow Wi-Fi.” It tries to manufacture a user session and stamp a role before PEF will forward SMB.

What the ticket asked

“Firewall is blocking the file share” or “Wi-Fi is slow.” Both are hypotheses. The factory may already have associated the client and printed the wrong role.

What you prove first

Which managed device owns the user, then Role + role-how in show user-table, then Access Tracker if ClearPass is in the path. The evidence desk is the night-shift version of this order.

The lie every L1 repeats

“RSSI is fine, so Aruba is fine — we need a site survey.” An associated radio only means the AP printed the first half of the ticket. If the role is wrong, widening the channel just gives a cleaner path to the same deny.

2. Mental model — ticket plus four stamps

Hold four parts. Interviews fail when people mix them. Official ArubaOS: the AAA profile defines the role for unauthenticated users and the default role for MAC or 802.1X. ClearPass may then overwrite that name. PEF only sees the role that landed.

1. The ticket is the user session

show user-table is the live book. IP, MAC, Name, Role, Auth method, ESSID / BSSID, AP name, forward mode. Empty table on the wrong cluster member is not “not associated.”

2. Auth is the first stamp

802.1X proves a user (or machine) identity. MAC-auth proves a device OUI / MAC. PSK and open still get a role — they just skip the NAC interview. Filter with show user-table authentication-method dot1x|mac.

3. Role is the enforcement word

Local user-role, RADIUS Aruba-User-Role, or a dRole downloaded from ClearPass. Official: a role derived from an Aruba VSA takes precedence over any other user roles. role-how names the method.

4. Proof is user-table + hits

Verbose show user-table mac / ip is the finished ticket. show datapath session table <ip> and show acl hits are what PEF did. Access Tracker is what ClearPass sent. AirMatch is a different ticket.

Path · four stations on one line
Teaches: Associate, 802.1X or MAC, Role stamp, then PEF enforce — left to right
Notice: you do not buy four products. One user session walks four stations. RF is not on this line.
Flow 1 · one ticket, four stamps, one ACL
Session · finance.user · ESSID Corp · one role, one ACL Client aa:bb:cc:dd:ee:ff File share 10.20.0.10:445 associated · DHCP 10.10.8.22 · VLAN 20 role ACL deny · this is the dead half Auth stamp 802.1X or MAC method · server Role stamp what they became role-how · name ClearPass stamp who assigned it Accept + VSA / dRole PEF stamp session ACL hits permit or deny AAA profile prints the fallback. ClearPass may overwrite it. PEF only sees the role that landed. initial-role (unauthenticated) → auth-method default → server / VSA / dRole. VLAN is where they landed, not the enforcement word. Source: Assigning User Roles (AOS 8) · aaa profile · user-role · show user-table role-how

Read the solid arrow first (associated + DHCP). If the dashed SMB return is a deny, do not open AirMatch. Re-read the role stamp and who assigned it.

Auth answers “who (or which device) is on the wire?” Official aaa profile: authentication-dot1x plus dot1x-server-group for 802.1X; authentication-mac plus mac-server-group for MAC-auth. The predefined default-dot1x profile sets dot1x-default-role to authenticated and initial-role to logon. The predefined default-mac-auth profile sets mac-default-role to authenticated.

Role answers “what did they become?” Official user-role: every client is associated with a user role; wireless clients start in the initial role and move as they pass authentication. The role carries the session ACL (PEFNG license). A VLAN configured on the role only applies for Layer-2 authentication (802.1X or MAC) because that handshake finishes before DHCP. L3 methods such as captive portal or VPN ignore the role VLAN knob.

ClearPass answers “who assigned it?” Official: ClearPass can return a named role as RADIUS Aruba-User-Role (Aruba RADIUS Enforcement template), or push a downloadable user role (Aruba Downloadable Role Enforcement). Official AOS 8 role-how 10 is “Dot1X role derived from ClearPass Policy Manager VSA.” Official ClearPass 6.10 note: a DUR is not supported in AOS 10 — name the product before you design a dRole.

PEF answers “what did the firewall actually do?” Official user-role attaches access-list session <acl>. Official show acl hits lists Role, Policy, Action (permit / deny), New Hits and Total Hits. That row is the SMB ticket. Datapath session table is the live flow.

Concept · Path · Do

Concept: the role is the ticket. Path: AP → authenticator → 802.1X/MAC → ClearPass (if used) → role + VLAN → session ACL → RF last. Do: Side A stamps ClearPass, Side B builds the AAA / user-role floor, Side C proves the live row.

3. Factory line — AP → auth → role → enforce

A new client has no user session yet. It walks association, then the AAA profile’s initial role, then 802.1X or MAC, then role derivation, then PEF. Later packets of the same user ride that role until idle timeout, reauth, roam, or a CoA restamps it. That is why “I fixed the enforcement profile” sometimes does nothing until the old role dies.

Path · first client vs later packets
Teaches: a decision diamond splits expected-role from fallback-role before any RF walk
Notice: the diamond is not allow/deny on the radio. It is “is the landed role the one the desk expected?”
Flow 2 · official factory order (student labels)
Associate → initial role → 802.1X/MAC → derive → PEF 1 AP associate VAP 2 Initial role logon Auth? dot1x/mac yes DERIVE — print or overwrite the role AAA default · SDR · VSA · dRole · CoA UDR before auth Auth default dot1x / mac Server rules after auth Aruba VSA wins all others dRole / CoA download or restamp PEF — session ACL on the landed role user-role access-list session · show datapath session table · show acl hits · RF is not in this bar no → stay initial / fail-through Official facts students invert 1. Precedence, lowest to highest: initial AAA role → user-derived (UDR, before auth) → default role for the auth method → server-derived (after auth) → Aruba VSA. 2. A role from an Aruba VSA takes precedence over any other user roles. It does not merge with dot1x-default-role. 3. role-how 1 = AAA default; 4 = default for auth type; 6 / 9 = Aruba VSA; 10 = ClearPass VSA on Dot1X; 12 = CoA. 4. download-role on the AAA profile enables ClearPass role download if the name is not already defined. DUR is not supported in AOS 10. Source: Assigning User Roles · aaa profile · show user-table role-how table · ClearPass Aruba Downloadable Role Enforcement Match letter case on the role name. Finance and finance are not the same stamp on the wire.

Read left → right, then the green PEF bar. Decision diamond = “did 802.1X or MAC finish?” The VSA box wins on purpose.

#1 student trap — Accept is not the right role

ClearPass can return Access-Accept with Aruba-User-Role = authenticated while the desk needed finance. That is still a policy miss. Official VSG wording: match the letter case when configuring user roles. Official service order: services process authentication requests from the top down, similar to an ACL. A broad MAC-auth service above the 802.1X service will Accept the laptop and send the wrong profile. Reorder before you rewrite AD groups.

4. How to choose the role source

You are not choosing a vendor. You are choosing who is allowed to write the role on the ticket. Pick one winner on purpose. Mixing them without naming the winner is how “I set dot1x-default-role” tickets rot.

ChoiceUse whenDo not use whenProof you were right
Local user-role + AAA default Lab, single SSID, no identity split. initial-role logon, dot1x-default-role employee. You think RADIUS is assigning a role. It is not, unless a VSA is on the wire. role-how 1 or 4. Role name exists under Configuration → Roles & Policies → Roles.
ClearPass named role Production campus: staff vs contractor vs guest. Template Aruba RADIUS Enforcement, attribute Aruba-User-Role. The name on ClearPass is not spelled (and cased) as the controller role. Fallback applies. role-how 6 / 9 / 10. Access Tracker Output shows Aruba-User-Role = the desk name.
dRole (downloadable) Central policy: ClearPass owns the role body. Template Aruba Downloadable Role Enforcement. Product = Mobility Controller (AOS 8). AOS 10 gateways — official: DUR is not supported in AOS 10. Also when TLS/trust to ClearPass is broken. NAD shows a downloaded role; download-role enabled on the AAA profile; fallback did not land.
802.1X (user / machine) Corporate laptops with a supplicant. Server group points at ClearPass. Headless printers. Use MAC-auth (or a dedicated IoT SSID) instead of forcing 802.1X and then wondering why they sit in logon. show user-table authentication-method dot1x — method 802.1X, expected role.
MAC-auth Printers, phones, scanners. mac-default-role plus a ClearPass MAC service. As a catch-all above 802.1X. First-match will steal laptops and stamp the MAC role. authentication-method mac. Access Tracker service is the MAC service, not the 802.1X one.
Role VLAN vs named VLAN VSA L2 auth (802.1X / MAC) and you want the role to carry the VLAN. Captive portal / VPN users — official: role VLAN has no effect after L3 auth. DHCP already ran. vlan-how on verbose user-table matches the method you designed.

Official AAA defaults you will hit in every lab: initial-role is logon. dot1x-default-role and mac-default-role default to guest on a fresh profile (PEFNG). The canned default-dot1x profile is the exception — its 802.1X default is authenticated. If ClearPass is silent or the VSA name does not exist on the NAD, that default is what PEF enforces. Source: aaa profile CLI.

Do not merge roles

A VSA does not “add to” the local default. Official Assigning User Roles: a role derived from an Aruba VSA takes precedence over any other user roles. If ClearPass sends Aruba-User-Role = authenticated, that name is the enforcement word — even if you typed finance on the AAA profile.

5. Runbook Side A → B → C

Lab values only. Hostname MC-LAB-01, dummy MAC aa:bb:cc:dd:ee:ff, user finance.user, ESSID Corp, client 10.10.8.22, file server 10.20.0.10, ClearPass clearpass.lab.example.com, NAD 192.0.2.10. Nothing here is a live tenant. Confirm syntax on the production AOS / ClearPass train before you type on a real box.

Side A — ClearPass (who stamps the role)

Primary source: ClearPass Policy Manager — Aruba RADIUS Enforcement Profile and Aruba Downloadable Role Enforcement Profile. Path: Configuration → Enforcement → Profiles → Add. Services path: Configuration → Services (top-down, first match).

  1. Match the service on purpose

    Official VSG: services process authentication requests from the top down, similar to an ACL. Put the 802.1X wireless service above any broad MAC-auth service that would also match the laptop. A first-match MAC Accept will never reach the 802.1X profile you spent the afternoon building.

  2. Stamp the named role (campus default)

    Configuration → Enforcement → Profiles → Add. Template = Aruba RADIUS Enforcement. Action = Accept. Attributes tab: Type Radius:Aruba, Name Aruba-User-Role (1), Value finance. Official VSG: match the letter case. Attach this profile to the enforcement policy that the 802.1X service uses.

  3. If you use dRole, name the product

    Same Add path. Template = Aruba Downloadable Role Enforcement. Type populates as Aruba_DUR. Product = Mobility Controller (or ArubaOS-Switch / MAS / AOS-CX — pick the real NAD). Role Configuration Mode = Standard (default) or Advanced. Official: DUR is not supported in AOS 10. Enable download-role on the AAA profile on the NAD or the download never starts.

  4. Role mapping is a label, not the stamp

    ClearPass Role Mapping tags the session inside Policy Manager. The enforcement profile is what the NAD receives. Accept + wrong profile is still a miss. Prove it on the Access Tracker Output tab, not on the Roles column alone.

Side B — Controller / gateway (the factory floor)

Primary source: AOS 8 aaa profile, Configuration → Authentication → AAA Profiles, and user-role / Configuration → Roles & Policies → Roles. The NAD must already have the named role or be willing to download the dRole.

  1. Build the role and the session ACL first

    Configuration → Roles & Policies → Policies, type Session, name finance-acl. Permit DNS / DHCP / the file-share net, deny the rest of RFC1918 if that is the design. Then Roles → add finance → attach access-list session finance-acl. Official user-role requires PEFNG. Source: user-role CLI + Roles & Policies help.

  2. Wire the AAA profile to the VAP

    Use the mock above. Know the initial role and the 802.1X / MAC defaults — those are the fallbacks. Point dot1x-server-group at ClearPass. Set rfc-3576-server if you will CoA. Enable download-role only if Side A is a dRole design.

  3. Spell the role identically

    Finance and finance are not a debate on the wire. If ClearPass sends a name the controller does not have, and download is off or fails, the client lands in the auth-method default. For dRole the download must succeed before the first useful session.

  4. Know which managed device owns the user

    In a cluster you debug the member that holds the session. An empty user table on MC-A while the client is on member-2 is not “no user.” It is the wrong box. show cluster status first, then show user-table.

AAA floor — Techclick dummy lab, not a customer controller
(MC-LAB-01) ^[md] (config) #aaa profile corpnet
(MC-LAB-01) ^[md] (AAA Profile "corpnet") initial-role logon
(MC-LAB-01) ^[md] (AAA Profile "corpnet") dot1x-default-role authenticated
(MC-LAB-01) ^[md] (AAA Profile "corpnet") dot1x-server-group radius-clearpass
(MC-LAB-01) ^[md] (AAA Profile "corpnet") download-role
(MC-LAB-01) ^[md] (AAA Profile "corpnet") rfc-3576-server 192.0.2.40

(MC-LAB-01) ^[md] (config) #user-role finance
(MC-LAB-01) ^[md] (config-submode) #access-list session finance-acl

A green Submit means the recipe printed. It does not mean SMB answered. Side C is the proof.

Side C — prove the two-way session

Primary source: AOS 8 show user-table (including the official role-how table), show datapath session table, show acl hits, and ClearPass Monitoring → Live Monitoring → Access Tracker.

  1. Baseline the box

    show cluster status — which member, config-sync. Half of empty user tables is the wrong managed device. Half of “it doesn’t match the doc” is a different AOS train (and remember: DUR is not AOS 10).

  2. Quote the live ticket

    show user-table mac aa:bb:cc:dd:ee:ff (or ip 10.10.8.22). Official fields you read out loud: Name, Current Role name, role-how, Authentication method, VLAN default / assigned / current, ESSID, AP name, AAA profile.

  3. If ClearPass is in the path, open Access Tracker

    Monitoring → Live Monitoring → Access Tracker. Click the RADIUS row. Summary = Login Status + service. Input = what arrived. Output = what was sent to the NAD (the Aruba-User-Role or DUR). Accept + wrong Output is still a miss.

  4. If the dest still fails, read PEF — do not add an SSID

    show datapath session table 10.10.8.22 and show acl hits. Role, Policy, Action, hits. A deny on TCP 445 is the SMB ticket. RF is still not allowed.

Proof · user-table cockpit
Teaches: operators prove a live Aruba user session on a monitor, not from Wi-Fi bars
Notice: juniors stare at RSSI. Seniors stare at Role, role-how, and ACL hits.
Dummy lab · ARUBA-LAB — official field names, fictional values
(MC-LAB-01) # show user-table mac aa:bb:cc:dd:ee:ff
Name: finance.user, IP: 10.10.8.22, MAC: aa:bb:cc:dd:ee:ff, Role: authenticated
Authentication: Yes, status: successful, method: 802.1X, server: radius-clearpass
Current Role name: authenticated, role-how: 10, L2-role: authenticated
Vlan default: 1, Assigned: 20, Current: 20
Essid: Corp, AP name/group: AP-LAB-17/corp-floor
Profiles AAA: corpnet, def-role:'logon'

(MC-LAB-01) # show datapath session table 10.10.8.22
src=10.10.8.22 dst=10.20.0.10 proto=tcp 445
acl=deny-rfc1918 action=deny hits=18

(MC-LAB-01) # show acl hits
Role         Policy         Action   New Hits  Total Hits
authenticated deny-rfc1918  deny     18        18
Green success on this runbook

Access Tracker Output Aruba-User-Role = finance. show user-table Current Role name = finance. role-how is 6, 9, or 10 (VSA / ClearPass), not 1 or 4 (AAA fallback) unless that was the design. show acl hits for role finance shows permit toward 10.20.0.10:445. The user can open the same share you used as the test. Associated + Accept + role authenticated is not success.

6. Runtime — roam, CoA, old roles

After the role lands, later packets skip derivation and ride PEF on that role. Official aaa profile: user-idle-timeout (30–15300 seconds, multiples of 30; 0 deletes the user on disassociation) overrides the global AAA timer when set. reauthentication-interval on the user-role (0–4096 minutes) forces a new interview. Until one of those fires — or a CoA arrives — a commit on ClearPass does not restamp the live user.

Roam is not a new factory job if the same managed device still owns the user. Official user-table output includes Roaming, ESSID / BSSID / Phy, forward mode, and mobility counters. wired-to-wireless-roam on the AAA profile (default enabled) keeps the user authenticated when they move from wired to wireless. radius-roam-accounting sends Interim-Update without user statistics when the client roams to a different AP. A morning “Wi-Fi died after I walked floors” ticket is often a new BSSID with the same wrong role — quote role-how before you blame AirMatch.

CoA is a restamp. Official role-how 12 is “Change of authorization role.” Official AAA: rfc-3576-server is the IPv4/IPv6 address of the RADIUS server allowed to send disconnect, session timeout, and CoA (PEFNG). Official Access Tracker: RADIUS Dynamic Authorization is available on a session that was previously RADIUS-controlled; the NAD must have Dynamic Authorization enabled. If you change the enforcement profile and the live role does not move, you did not fail the factory — you skipped the restamp.

Cluster HA is two copies of the factory book. show cluster status config-sync ok means the recipe is aligned. It does not mean member-2 has the user you are grepping on member-1. Official user-table also has a standby filter. Prove the business click on the member that owns the MAC.

Flow 3 · runtime restamp
Client finance.user AP-LAB-17 ESSID Corp NAD / MC owns the user ClearPass Accept or CoA Role ACL datapath hits CoA restamps role-how 12. Roam keeps the same role unless reauth or idle timeout fires. RF / AirMatch is still not in this row. Prove the role, then open the desk. Source: aaa profile rfc-3576-server · show user-table role-how 12 · Access Tracker Dynamic Authorization

RADIUS in, role out. CoA can reprint the ticket later. The datapath session is where allow/deny becomes visible.

Mini summary

Association is the AP. Accept is ClearPass. Role is enforcement. role-how names the stamp. Datapath / ACL hits close the ticket. AirMatch is a different ticket until those four are green.

7. Traps + user-table proof

SymptomLooks likeActuallyFirst move
Wi-Fi ok, SMB denied RF / “slow Wi-Fi” Role ACL deny on TCP 445 show user-table then show acl hits
ClearPass Accept, wrong access NAC is fine Output VSA is the fallback name Access Tracker Output vs Current Role
Expected finance, saw authenticated SSID is wrong VSA miss, case miss, or dRole failed Name role-how 1/4 vs 6/9/10
dRole designed, default landed Need a new VAP download-role off, AOS 10, or trust broken AAA profile + product (not AOS 10 DUR)
Laptop got the printer role AD group is wrong MAC-auth service matched first Reorder Configuration → Services
Empty user-table Not associated Wrong cluster member show cluster status, then the owner
Changed profile, role unchanged Commit failed Old session still on the role CoA / reauth / idle timeout
Role VLAN ignored DHCP bug User authenticated at L3 Official: role VLAN is L2-auth only
Morning RF pile-up AirMatch broke Wi-Fi Maybe — after role and ACL are clean Desk: AirMatch last-run, not first
role-howOfficial meaningWhat you say
1AAA profile default roleClearPass never won. You are on dot1x-default-role / mac-default-role.
4Default role for authentication typeAuth finished; no VSA / SDR overrode the method default.
6 / 9HPE Aruba VSA / Dot1X Aruba VSARADIUS sent Aruba-User-Role. Spell-check the name against Roles.
10Dot1X role derived from ClearPass Policy Manager VSAClearPass stamped 802.1X. Quote Access Tracker Output next.
12Change of authorization roleA later CoA restamped the ticket. Compare timestamps.

Full official list is 1–22 on the show user-table page (UDR, DHCP option, captive portal, SIP, mobility, system AP role, and more). You do not memorise every code on day one. You do learn to ask: which method stamped this role?

Proof checklist — finance is actually working
Interview close you can steal

Aruba is a WLAN/NAC session factory. The AP associates. 802.1X or MAC authenticates. The controller prints a user role — from the AAA profile or from ClearPass via Aruba-User-Role or a downloadable role. PEF enforces the session ACL on that role. I prove the ticket in show user-table: the role name, role-how, and then ACL hits. Association without the right role is not success. RF comes last.

Night-shift tickets and the five official proof tools live on the Aruba evidence desk. This page is the factory. That page is the clipboard.

Knowledge check

Six judgment questions. Map each miss back to the section named in the reason.

Q1

finance.user is associated on Corp. File server 10.20.0.10 fails. RSSI is −58 dBm. What is the first move?

Correct: b. Association is not a session. The factory ticket is the role. Re-read Why association is not a session and Side C.
Q2

Access Tracker request 1042 is Accept. Output Aruba-User-Role = authenticated. The desk expected finance. Who failed?

Correct: c. Accept + wrong VSA is still a policy miss. Re-read Side A and the #1 student trap.
Q3

ClearPass sent a downloadable role finance. The NAD does not have that role and download-role is off (or the product is AOS 10). What lands?

Correct: a. Name the fallback (dot1x-default-role / mac-default-role). Official: DUR is not supported in AOS 10. Re-read How to choose and Side B.
Q4

Verbose show user-table shows role-how: 10. What stamped the role?

Correct: d. Official AOS 8 role-how table: 10 = Dot1X role derived from ClearPass Policy Manager VSA. Re-read Flow 2 and the role-how table.
Q5

Official role-assignment precedence: you set dot1x-default-role finance and ClearPass also sends Aruba-User-Role = authenticated. What does PEF enforce?

Correct: b. Official Assigning User Roles: Aruba VSA wins; it does not merge. Re-read Mental model and How to choose.
Q6

What proves the factory printed a working finance session?

Correct: c. user-table is the live ticket. Access Tracker is what ClearPass sent. Submit is a recipe. Re-read Side C and the proof checklist.

Sources

Related: Aruba evidence desk · ClearPass policy pipeline · WLAN SSID and roles · Dynamic Segmentation and PEF · ClearPass Guest / Onboard / Insight · HPE Aruba practice hub · Dummy lab

Dummy lab data only. Nothing here is sent to a customer device. Filter, change-control, and vendor syntax still apply in production.