Skip to content
Trustaige Docs

Set up Aruba CX switches for Trustaige RADIUS

Configure an AOS-CX switch for 802.1X with MAC authentication fallback against Trustaige RADIUS, with dynamic VLANs, accounting and disconnects.

  • Scale
  • Needs AOS-CX 10.10.1140
  • Needs 10.13.1040
  • Needs 10.14.1010 or later
  • About 30 minutes
  • Rolling out
View as Markdown

AOS-CX passes each port’s EAP through to RADIUS, and its MAC authentication sends CHAP by default, over the MAC in lowercase without separators. Trustaige checks a CHAP MAC authentication against the MAC itself, so the defaults work.

Read Run a wired office on Trustaige RADIUS first for the hub’s side. Register the switch with the make Aruba.

Before you start

You needWhy
AOS-CX 10.10.1140, 10.13.1040, 10.14.1010 or laterHPE’s fix for Blast-RADIUS (HPESBNW04662) is in these releases. Trustaige drops requests without Message-Authenticator.
A 4100i, 6100, 6200, 6300 or 6400The 8320, 8325 and 8360 have no port access authentication.
The VLANs Trustaige will name, on the switchvlan <your-restricted-vlan>, and the wired network’s VLAN if you set one.

RADIUS servers and accounting

radius-server host <your-radius-server> key plaintext <your-radius-secret>
aaa group server radius trustaige
    server <your-radius-server>
aaa accounting port-access start-stop interim 5 group trustaige
  • If the hub’s Port isn’t 1812, add port and acct-port to the radius-server host line. Add the secondary server the same way.
  • Add vrf mgmt to the host and group server lines if the switch reaches Trustaige through its management port.
radius-server host <your-radius-server> key plaintext <your-radius-secret>
aaa group server radius trustaige
    server <your-radius-server>
aaa accounting port-access start-stop interim 5 group trustaige

802.1X and MAC authentication

aaa authentication port-access dot1x authenticator
    radius server-group trustaige
    enable
aaa authentication port-access mac-auth
    radius server-group trustaige
    enable
  • Leave auth-method at its default, chap, or set pap; Trustaige takes either. Leave addr-format at its default, no-delimiter; Trustaige reads any format.
  • Don’t set aaa authentication port-access mac-auth password. It gives every device one shared password, which Trustaige refuses.
aaa authentication port-access dot1x authenticator
    radius server-group trustaige
    enable
aaa authentication port-access mac-auth
    radius server-group trustaige
    enable

Access ports

interface 1/1/10
    no shutdown
    vlan access 10
    aaa authentication port-access client-limit 4
    aaa authentication port-access auth-precedence dot1x mac-auth
    aaa authentication port-access dot1x authenticator
        enable
    aaa authentication port-access mac-auth
        enable
  • client-limit above 1 lets a PC behind an IP phone and the phone each be decided separately. It counts every method together.
  • auth-precedence dot1x mac-auth tries 802.1X first.

AOS-CX applies Tunnel-Private-Group-ID, Session-Timeout and Termination-Action from the Access-Accept: the VLAN Trustaige names, and a fresh request before the timeout.

interface 1/1/10
    no shutdown
    vlan access 10
    aaa authentication port-access client-limit 4
    aaa authentication port-access auth-precedence dot1x mac-auth
    aaa authentication port-access dot1x authenticator
        enable
    aaa authentication port-access mac-auth
        enable

Disconnects

Trustaige sends Disconnect-Requests to Aruba switches on UDP 3799, the port AOS-CX listens on. Allow each address the hub lists when you choose Disconnects on UDP 3799 beside the switch:

radius dyn-authorization enable
radius dyn-authorization client 198.51.100.7 secret-key plaintext <your-radius-secret>

Add one client line for each address the hub lists, in place of 198.51.100.7. Leave replay-protection and time-window at their defaults: every Disconnect-Request from Trustaige carries an Event-Timestamp.

radius dyn-authorization enable
radius dyn-authorization client 198.51.100.7 secret-key plaintext <your-radius-secret>

Check it works

  1. Plug a managed PC into the port, then a printer.

  2. On the switch:

    show aaa authentication port-access interface 1/1/10 client-status
    show radius dyn-authorization

    Each device shows its method, its VLAN and the session timeout Trustaige sent.

  3. In the hub, Recent joins shows each decision, and the activity names the port.

  4. Block the PC in the hub. Its session ends within seconds, and the dyn-authorization counters show the request.

Troubleshooting

Activity says “The access point does not sign its requests. Turn on Message-Authenticator in its RADIUS settings.”

The release predates HPE’s Blast-RADIUS fix. Update to one of the releases under Before you start.

The client status shows Server-Reject for a printer

Check the activity in the hub for the reason: a printer that isn’t registered is listed under Seen but not registered, and one that moved port is refused until you accept the move.

The hub shows a Disconnect-Request as not acknowledged

Check radius dyn-authorization enable, the client address and secret, and that accounting reaches Trustaige. Trustaige puts an Event-Timestamp in every Disconnect-Request, so keep the switch’s clock in sync over NTP for replay protection to accept it.

What hasn’t been confirmed yet

  • HPE doesn’t say whether its Blast-RADIUS fix adds Message-Authenticator to MAC authentication requests. Trustaige’s lab has exercised CHAP MAB as AOS-CX sends it, not a real switch’s request.
  • The defaults for replay-protection and time-window on a dyn-authorization client aren’t documented; the guide leaves both at their defaults.
  • How long a port waits on 802.1X before MAC authentication isn’t documented.