The old fashioned SNMP method, which works:
10.10.10.10 is a standalone MD, these OIDs should work for AOS8 clustered nodes as well.
export MIBS=all
snmpwalk -OX -v 2c -c public 10.10.10.10 .1.3.6.1.4.1.14823.2.2.1.4.1 | more
WLSX-USER-MIB::nUserName[STRING: 0:1d:63:9:45:93][10.10.82.156] = STRING: 001d63094593 <------ MAC authenticated user
WLSX-USER-MIB::nUserName[STRING: 0:50:56:51:dc:1f][0.0.0.0] = STRING:
WLSX-USER-MIB::nUserName[STRING: 24:24:e:9c:40:15][10.10.82.215] = STRING: frieda@mini <-------- TLS authenticated user
# focusing on one device of interest by MAC address:
snmpwalk -OX -v 2c -c public 10.10.10.10 .1.3.6.1.4.1.14823.2.2.1.4.1 | grep 24:24:e:9c:40:15
WLSX-USER-MIB::nUserName[STRING: 24:24:e:9c:40:15][10.10.82.215] = STRING: frieda@mini
WLSX-USER-MIB::nUserRole[STRING: 24:24:e:9c:40:15][10.10.82.215] = STRING: cppm-auth <----------------------------------------- user-role VSA assigned
WLSX-USER-MIB::nUserUpTime[STRING: 24:24:e:9c:40:15][10.10.82.215] = Timeticks: (23190900) 2 days, 16:25:09.00
WLSX-USER-MIB::nUserAuthenticationMethod[STRING: 24:24:e:9c:40:15][10.10.82.215] = INTEGER: dot1x(4)
WLSX-USER-MIB::nUserSubAuthenticationMethod[STRING: 24:24:e:9c:40:15][10.10.82.215] = INTEGER: eapTLS(5)
WLSX-USER-MIB::nUserAuthServerName[STRING: 24:24:e:9c:40:15][10.10.82.215] = STRING: radius_pi-3 <------------------- RADIUS server
WLSX-USER-MIB::nUserExtVPNAddress[STRING: 24:24:e:9c:40:15][10.10.82.215] = IpAddress: 0.0.0.0
WLSX-USER-MIB::nUserApLocation[STRING: 24:24:e:9c:40:15][10.10.82.215] = STRING: ap515-f666
WLSX-USER-MIB::nUserApBSSID[STRING: 24:24:e:9c:40:15][10.10.82.215] = STRING: f4:2e:7f:ef:66:70
WLSX-USER-MIB::nUserIsOnHomeAgent[STRING: 24:24:e:9c:40:15][10.10.82.215] = INTEGER: 0
WLSX-USER-MIB::nUserHomeAgentIpAddress[STRING: 24:24:e:9c:40:15][10.10.82.215] = IpAddress: 0.0.0.0
WLSX-USER-MIB::nUserMobilityStatus[STRING: 24:24:e:9c:40:15][10.10.82.215] = INTEGER: wireless(5)
WLSX-USER-MIB::nUserHomeVlan[STRING: 24:24:e:9c:40:15][10.10.82.215] = INTEGER: 0
WLSX-USER-MIB::nUserDefaultVlan[STRING: 24:24:e:9c:40:15][10.10.82.215] = INTEGER: 82
WLSX-USER-MIB::nUserAssignedVlan[STRING: 24:24:e:9c:40:15][10.10.82.215] = INTEGER: 82
I'd be interested to see how one does this with an API.
------------------------------
Shawn Adams
------------------------------
Original Message:
Sent: Nov 09, 2022 02:26 AM
From: Armin Huemer
Subject: SNMP OID - WLAN client role
Hi community!
I am using Aruba Instant on the latest firmware.
Does anybody know if there is an OID for getting the assigned wlan client role via SNMP.
The role is assigned by Aruba Clearpass when the wlan client is authenticated.
Unfortunately I couldn't find anything in the aruba instant mib reference guide.
Thx in advance!