We are using ClearPass to send down a user-role to our Aruba CX switch. We are using local user roles in this environment. I am successfully applying the local user roles on our Aruba AOS switches but am having difficulty with our CX switches. this is on one of our lab switches as we are still in the beginning stages of trying to get wired security to work.
Our CX switch is failing to apply the local user role to the port in question once ClearPass has performed the necessary authentication checks and sent down the proper user role
6300# show port-access clients
Port Access Clients
Status Codes: d device-mode, c client-mode, m multi-domain
-----------------------------------------------------------------------------------------------------------------
Port MAC-Address Onboarding Status Role Device Type
Method
-----------------------------------------------------------------------------------------------------------------
c 1/1/1 f4:39:09:12:e8:d3 mac-auth Success LUR-UBT-User
c 1/1/2 10:e7:c6:b8:1c:0b dot1x Fail COD-MACHINE
We are successfully tunneling one port over to our hardware controller, but failing to apply the role to port 2. I'm getting some kind of VLAN application error
6300# show aaa authentication port-access interface 1/1/2 client-status
Port Access Client Status Details
Client 10:e7:c6:b8:1c:0b, anonymous
===================================
Session Details
---------------
Port : 1/1/2
Session Time : 422s
IPv4 Address :
IPv6 Address :
Device Type :
Authentication Details
----------------------
Status : dot1x Authenticated
Auth Precedence : dot1x - Authenticated, mac-auth - Not attempted
Auth History : dot1x - Authenticated, 422s ago
Authorization Details
----------------------
Role : COD-MACHINE
Status : Failed, Failed to assign VLAN
I've checked the spelling of the port-access role, and even changed the name of the associated policy, as it had the same name but different case
Name : COD-MACHINE
Type : local
----------------------------------------------
Reauthentication Period : 86400 secs
Cached Reauthentication Period :
Authentication Mode :
Session Timeout :
Client Inactivity Timeout :
Description :
Gateway Zone :
UBT Gateway Role :
UBT Gateway Clearpass Role :
Access VLAN :
Native VLAN :
Allowed Trunk VLANs :
Access VLAN Name :
Native VLAN Name : data
Allowed Trunk VLAN Names : data,voice
VLAN Group Name :
MTU :
QOS Trust Mode :
STP Administrative Edge Port :
PoE Priority :
PVLAN Port Type :
Captive Portal Profile :
Policy : COD-Machines
GBP :
Device Type :
MACsec-Policy :
Here is the actual config of the port-access role:
port-access role COD-MACHINE
associate policy COD-Machines
reauth-period 86400
vlan trunk native name data
vlan trunk allowed name data,voice
vlans:
6300(config)# show vlan
------------------------------------------------------------------------------------------------------------------
VLAN Name Status Reason Type Interfaces
------------------------------------------------------------------------------------------------------------------
1 DEFAULT_VLAN_1 down no_member_forwarding default 1/1/49-1/1/50,lag1
1188 data up ok static 1/1/1-1/1/48,lag1
1190 voice up ok static 1/1/1-1/1/48,lag1
1196 finhr down no_member_forwarding static lag1
1800 Management up ok static 1/1/48,lag1
4091 tunnel up ok static 1/1/1,lag1
The following is the interface configuration itself. We have the VLANs defined on the interfaces as that is our standard production configuration, and we are just beginning to try to deploy wired network security, as stated previously
interface 1/1/2
no shutdown
no routing
vlan trunk native 1188
vlan trunk allowed 1188,1190
spanning-tree port-type admin-edge
aaa authentication port-access client-limit 12
aaa authentication port-access dot1x authenticator
eapol-timeout 10
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
6300(config)# show logging -r
---------------------------------------------------
Event logs from current boot
---------------------------------------------------
2025-01-07T06:44:28.182387-06:00 6300 port-accessd[4403]: Event|10502|LOG_INFO|CDTR|1|Port 1/1/2 is blocked by port-access
2025-01-07T06:44:28.145444-06:00 6300 intfd[751]: Event|403|LOG_INFO|UKWN|1|Link status for interface 1/1/2 is up
I've been stuck on this for weeks, looking for some help here. Probably something obvious I'm missing