Your values Fill in your own to see them in every example
The Server, or Primary server, the hub shows when you register your RADIUS server at a site.
That doesn’t look right yet. For example: 203.0.113.10
The Restricted VLAN for headless devices on the wired network’s settings in the hub.
That doesn’t look right yet. For example: 30
RADIUS shared secret stays a marked placeholder here, never filled in: the hub gives you secrets, and only your server should hold them.
Saved in this browser only, for every page of these docs. Nothing you type leaves this page.
A Catalyst switch passes each port’s EAP conversation through to Trustaige
RADIUS, and asks about a device that answers no EAPOL by its MAC (MAB). Plain
mab sends PAP with the MAC as the password and Service-Type set to
Call-Check, which is what Trustaige accepts. The commands below use the
classic authentication style, which IOS XE 17 still takes.
Read Run a wired office on Trustaige RADIUS first for the hub’s side. Register the switch with the make Cisco.
Before you start
| You need | Why |
|---|---|
| IOS XE 17.18.1 or later, preferably | Cisco lists Message-Authenticator on every RADIUS packet as new in 17.18.1. Trustaige drops requests without it. |
| The wired network served at a site, with the switch registered there | The hub gives you the servers, the port and the shared secret. |
| The VLANs Trustaige will name, on the switch | vlan <your-restricted-vlan>, and the wired network’s VLAN if you set one. |
RADIUS servers
aaa new-model
!
radius server trustaige-1
address ipv4 <your-radius-server> auth-port 1812 acct-port 1813
key <your-radius-secret>
!
aaa group server radius trustaige
server name trustaige-1
!
aaa authentication dot1x default group trustaige
aaa authorization network default group trustaige
aaa accounting dot1x default start-stop group trustaige
aaa accounting update newinfo periodic 5
dot1x system-auth-control
- Always give
auth-portandacct-port: Cisco’s documentation names more than one default. Setauth-portto the hub’s Port, andacct-portto the port after it. - If the hub showed a secondary server, add
trustaige-2the same way and list it in the group. aaa authorization networkis what lets the switch apply the VLAN Trustaige names.
aaa new-model
!
radius server trustaige-1
address ipv4 <your-radius-server> auth-port 1812 acct-port 1813
key <your-radius-secret>
!
aaa group server radius trustaige
server name trustaige-1
!
aaa authentication dot1x default group trustaige
aaa authorization network default group trustaige
aaa accounting dot1x default start-stop group trustaige
aaa accounting update newinfo periodic 5
dot1x system-auth-controlDisconnects
Trustaige sends Disconnect-Requests to Cisco switches on UDP 1700. Allow each address the hub lists when you choose Disconnects on UDP 1700 beside the switch:
aaa server radius dynamic-author
client 198.51.100.7 server-key <your-radius-secret>
port 1700
auth-type any
Add one client line for each address the hub lists, in place of
198.51.100.7.
aaa server radius dynamic-author
client 198.51.100.7 server-key <your-radius-secret>
port 1700
auth-type anyAccess ports
interface GigabitEthernet1/0/10
switchport mode access
switchport access vlan 10
switchport voice vlan 20
authentication host-mode multi-domain
authentication order dot1x mab
authentication priority dot1x mab
authentication port-control auto
authentication periodic
authentication timer reauthenticate server
mab
dot1x pae authenticator
dot1x timeout tx-period 10
spanning-tree portfast
mab, withouteap.mab eapsends EAP-MD5, which Trustaige refuses.- The MAC format can stay at the default. Trustaige reads the MAC in any
format. Don’t set
mab request format attribute 2: it gives every device one shared password, which Trustaige refuses. - Fallback. With the defaults (
tx-period30 seconds,max-reauth-req2), MAB starts about 90 seconds after the link comes up.tx-period 10brings that to about 30 seconds. - Host mode.
multi-domainadmits one device in the voice VLAN and one in the data VLAN: an IP phone with a PC behind it. Trustaige marks a device registered with the kind Phone as a voice device (device-traffic-class=voice) on switches registered with the make Cisco, whether it joins by MAC or by certificate. Give the phone the port’s voice VLAN as its VLAN of its own, so the VLAN Trustaige names matches it. Where a port has more than one data device, or no phone, usemulti-authinstead, which decides each device separately. authentication timer reauthenticate serverwithauthentication periodichas the switch ask again at theSession-TimeoutTrustaige sends.
On a switch already converted to the new style (authentication convert-to new-style), the classic commands are refused. Use a control policy with the
same order, host mode and re-authentication, under access-session.
interface GigabitEthernet1/0/10
switchport mode access
switchport access vlan 10
switchport voice vlan 20
authentication host-mode multi-domain
authentication order dot1x mab
authentication priority dot1x mab
authentication port-control auto
authentication periodic
authentication timer reauthenticate server
mab
dot1x pae authenticator
dot1x timeout tx-period 10
spanning-tree portfastMessage-Authenticator
EAP requests always carry Message-Authenticator. MAB requests carry it on IOS XE 17.18.1 and later. On an earlier release, plug a headless device into a configured port and watch Live test: if the activity says “The access point does not sign its requests”, MAB requests lack it, and the switch needs a later release before it can admit devices by MAC.
Check it works
-
Plug a managed PC into the port, then a printer.
-
On the switch:
show access-session interface GigabitEthernet1/0/10 detailsEach device shows its method (
dot1xormab),Authorized, the VLAN and the session timeout Trustaige sent. -
In the hub, Recent joins shows each decision, and the activity names the port.
-
Block the PC in the hub. With disconnects reaching the switch, its session ends within seconds;
debug aaa podshows the request arriving.
Troubleshooting
The printer doesn’t reach MAB
The port is still waiting on 802.1X. Check authentication order dot1x mab,
and wait out the fallback, about 90 seconds with the default timers.
Activity says “The device asked for a sign-in method other than a certificate.” for a printer
The switch sent EAP-MD5 (mab eap) or a shared password. Use plain mab and
remove mab request format attribute 2.
The session is authorized, but in the port's own VLAN
The switch didn’t apply the VLAN. Check aaa authorization network default group trustaige, and that the VLAN exists on the switch.
The hub shows a Disconnect-Request as not acknowledged
The switch didn’t take it. Check the client lines and the shared secret
under aaa server radius dynamic-author, the port, and that accounting
reaches Trustaige.
What hasn’t been confirmed yet
- Whether releases before 17.18.1 add Message-Authenticator to MAB requests hasn’t been recorded in Trustaige’s lab, and Cisco’s documentation doesn’t say.
- Cisco documents the MAB user name format commands for IOS 15, and its 17.x command reference doesn’t list them. Trustaige accepts the default, so the guide doesn’t rely on them.
- 1700 as the default for
aaa server radius dynamic-authoris documented for older Catalyst models only; the guide sets it explicitly. - How a Catalyst treats a VLAN named for a device in the voice domain hasn’t been recorded in Trustaige’s lab, which is why the guide sets the phone’s own VLAN to the port’s voice VLAN.