Skip to content
Trustaige Docs

Set up ArubaOS-Switch for Trustaige RADIUS

Configure an ArubaOS-Switch (2930F and others on 16.11) for 802.1X with MAC-based fallback against Trustaige RADIUS, with VLANs and disconnects.

  • Scale
  • Needs ArubaOS-Switch 16.11.0025 or later
  • About 30 minutes
  • Rolling out
View as Markdown

ArubaOS-Switch, the former ProCurve line, runs 802.1X and MAC-based authentication side by side on a port. With an order set, it tries 802.1X first. Its MAC-based authentication sends CHAP (chap-radius) over the MAC in lowercase without separators, which Trustaige accepts.

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
ArubaOS-Switch 16.11.0025 or laterIt adds Message-Authenticator to RADIUS requests. Trustaige drops requests without it.
The VLANs Trustaige will name, on the switchvlan <your-restricted-vlan>, and the wired network’s VLAN if you set one.

RADIUS servers, accounting and disconnects

radius-server host <your-radius-server> key "<your-radius-secret>"
radius-server host <your-radius-server> dyn-authorization
aaa accounting network start-stop radius
aaa accounting update periodic 5
  • Set the server’s ports with auth-port and acct-port if the hub’s Port isn’t 1812. Add the secondary server the same way.
  • dyn-authorization accepts Disconnect-Requests from that host on UDP 3799, the port the hub uses for Aruba. The switch accepts them only from addresses configured as RADIUS hosts: if the hub lists a disconnect address, under Disconnects on UDP 3799, that isn’t one of your servers, add it as a host with the same key and dyn-authorization.
  • time-window stays at its default, 300 seconds: the switch accepts a Disconnect-Request whose Event-Timestamp is that recent. Trustaige puts one in every request, so keep the switch’s clock in sync over NTP.
radius-server host <your-radius-server> key "<your-radius-secret>"
radius-server host <your-radius-server> dyn-authorization
aaa accounting network start-stop radius
aaa accounting update periodic 5

802.1X and MAC-based authentication

aaa authentication port-access eap-radius
aaa authentication mac-based chap-radius
aaa port-access authenticator 1-24
aaa port-access authenticator 1-24 client-limit 4
aaa port-access mac-based 1-24
aaa port-access 1-24 auth-order authenticator mac-based
aaa port-access 1-24 auth-priority authenticator mac-based
aaa port-access authenticator active
  • client-limit makes each device on the port authenticate on its own, such as a PC behind an IP phone. Without it, one authentication opens the port to every device behind it.
  • auth-order and auth-priority, set in that order, make the switch try 802.1X first. Without them, both methods start at once.
  • pap-radius works as well as chap-radius. Leave addr-format at its default, no-delimiter; Trustaige reads any format.
  • Don’t set aaa port-access mac-based password. It gives every device one shared password, which Trustaige refuses.

The switch applies the VLAN Trustaige names in Tunnel-Private-Group-ID. Leave unauth-vid unset, so a refused device gets no network.

aaa authentication port-access eap-radius
aaa authentication mac-based chap-radius
aaa port-access authenticator 1-24
aaa port-access authenticator 1-24 client-limit 4
aaa port-access mac-based 1-24
aaa port-access 1-24 auth-order authenticator mac-based
aaa port-access 1-24 auth-priority authenticator mac-based
aaa port-access authenticator active

Check it works

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

  2. On the switch:

    show port-access authenticator clients
    show port-access mac-based clients detail
    show radius

    show radius lists the dynamic authorization port.

  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.

Troubleshooting

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

The release predates 16.11.0025. Update the switch.

A device behind a phone gets the phone's VLAN, or no network

client-limit isn’t set, so the port authenticates once for everything behind it. Set it on the port.

The hub shows a Disconnect-Request as not acknowledged

Check dyn-authorization on a host entry for each address the hub lists, that the switch’s clock is in sync, and that accounting reaches Trustaige.

What hasn’t been confirmed yet

  • Whether 16.11.0025’s Message-Authenticator covers MAC-based authentication requests isn’t stated by HPE, and Trustaige’s lab hasn’t recorded a real switch’s request.
  • That chap-radius is the default for aaa authentication mac-based isn’t stated; the guide sets it.
  • Whether the switch acts on Termination-Action RADIUS-Request for a MAC-based client isn’t documented.