Aruba Instant ignores ClearPass Aruba-User-Role – IAP machine authentication (set-role-machine-auth) enabled
Aruba ClearPass 6.12 · updated 21 Nov 2026 · 1 min read
The problem
Applies to
- NAC: Aruba ClearPass Policy Manager 6.12
- Wireless: Aruba Instant APs (any InstantOS version with machine authentication on the SSID; check yours with show version)
- Use case: Machine Access Restriction (MAR) enforced in ClearPass, with the role returned by ClearPass in the Aruba-User-Role VSA
Symptoms
- Access Tracker Output shows ClearPass returning the expected Aruba-User-Role, but on the IAP the client gets a different role (the WLAN's machine-only or user-only role).
- Changes to ClearPass enforcement profiles have no effect on the role the client actually gets.
How to fix it
Cause
The SSID has Instant's own machine-authentication enforcement enabled (Machine authentication with machine-only and user-only roles, or set-role-machine-auth in the CLI). In that mode the IAP applies its local roles for sessions that are only partly authenticated and discards the Aruba-User-Role sent by ClearPass. IAP-native machine authentication and ClearPass-side MAR can't be used together: pick one.
Check (IAP CLI)
show version
show running-config | include set-role-machine-auth
show clients
A set-role-machine-auth line under the SSID profile, together with a client role that differs from what Access Tracker shows ClearPass returning, confirms it.
Fix (enforce MAR in ClearPass only)
WebUI: Configuration › Networks › <SSID> › Security › turn off Machine authentication. Or CLI:
wlan ssid-profile <SSID>
no set-role-machine-auth
exit
commit apply
Make sure every role name ClearPass returns exists on the IAP cluster with the intended access rules (or use Downloadable User Roles once the ClearPass HTTPS certificate is trusted by the IAPs).
Verify
Reconnect a test client and run show clients on the IAP. The role column should match the Aruba-User-Role in the Access Tracker Output tab, for both the machine-authentication and the user-authentication phase.
Tested on Aruba ClearPass 6.12. Steps can differ on other versions; take a backup and try changes in a maintenance window. Pavak Technologies shares this as general guidance, without warranty.