Authenticating users with Radius and Responding with a Pool (ArubOS 6.3 and above)

Share Post

When you authenticate a user on an Aruba Controller with a radius server, you have the option of sending back an attribute that has either the role or the VLAN that a user will be in.  The limitation used to be that you can only send back a single VLAN or role, which makes putting a user into a specific "pool" almost impossible.  You can now (as of ArubaOS 6.3) send back an attribute that has the VLAN name or pool that the user should be in from the radius server, using the Aruba-Named-User-Vlan radius attribute.  Sending that attribute back will send the VLAN name or the VLAN pool name via Radius VSA and the local Aruba controller will convert the name to either a single VLAN or VLAN pool, based on how it is defined at the local controller.

Here is how it works:

You authenticate a user, and based on attributes like AD group membership, the radius server will send back to the controller the Aruba-Named-User-Vlan attribute which will have a Name.  Each local controller will have that VLAN Name assigned to a single VLAN or a VLAN pool so a user will be put in to a VLAN or VLAN pool based on how the local controller has the VLAN name configured.  At a small location on a controller, the VLAN name "Employee" might be attached to a single VLAN, and at a larger location's controller the VLAN name "Employee" might be configured as a pool of VLANs.  Either way, you simplify your radius configuration and you can interpret it locally at each controller.  Here is how you would configure your enforcement profile in ClearPass Policy Manager to send back that Attribute:

You would configure an enforcement policy that triggers the enforcement profile below to send back the "Employee" attribute below:


2.png  Here is how it looks in the Access Tracker on CPPM:


This is how it looks on the Aruba Controller.  You first need to turn on authmgr logging to see radius attributes:

You turn on Authmgr logging by:

config t logging level debugging security process authmgr logging level debugging security subcat aaa

Then you type "show log security all" to see the following radius attributes sent back and forth:

May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_api.c:95] Radius authenticate raw using server cppm- May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_request.c:52] Add Request: src=4, srv=, fd=78 May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_server.c:1214] Sending radius request to cppm- id:4,len:291  May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_server.c:1224]  User-Name: employee  May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_server.c:1224]  NAS-IP-Address:  May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_server.c:1224]  NAS-Port-Id: 0  May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_server.c:1224]  NAS-Identifier:  May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_server.c:1224]  NAS-Port-Type: 19  May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_server.c:1224]  Calling-Station-Id: E892A4966F43  May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_server.c:1224]  Called-Station-Id: 000B866D2030  May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_server.c:1224]  Service-Type: Login-User  May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_server.c:1224]  Framed-MTU: 1100  May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_server.c:1224]  EAP-Message: �02�04  May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_server.c:1224]  State:   May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_server.c:1224]  Aruba-Essid-Name: ACME-TLS  May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_server.c:1224]  Aruba-Location-Id: ap-135  May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_server.c:1224]  Aruba-AP-Group: default  May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_server.c:1224]  Aruba-Device-Type: Android  May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_server.c:1224]  Message-Auth: 310202�21�01G244336 341307�32242241{373266  May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_request.c:76] Find Request: src=4, srv=, fd=78 May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_request.c:82]  Current entry: srv=, fd=78 May 19 13:50:25 :121038:   |authmgr|  Save Class in station for MAC e8:92:a4:96:6f:43. May 19 13:50:25 :121040:   |authmgr|  rc_recv_server_async: last_authserver cppm- May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_request.c:37] Del Request: src=4, srv=, fd=78 May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_api.c:1013] Authentication Successful May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_api.c:1015] RADIUS RESPONSE ATTRIBUTES: May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_api.c:1030]  {Microsoft} MS-MPPE-Recv-Key: 307277374)251346206}Jx350y363d325321@233f�13l3710�23205230A�17300333�02b3412502403123778226d�02365206215262>376/uk  May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_api.c:1030]  {Microsoft} MS-MPPE-Send-Key: 311}261  May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_api.c:1030]  EAP-Message: �03�04  May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_api.c:1030]  Message-Auth: 234312376Z243362320221371�04�22Q252�07?y  May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_api.c:1030]  User-Name: employee  May 19 13:50:25 :121031:   |authmgr| |aaa| [rc_api.c:1030]  {Aruba} Aruba-Named-User-Vlan: Employee