# Set up Cisco Meraki MS switches for Trustaige RADIUS

> Create a Meraki access policy with Hybrid authentication against Trustaige RADIUS, with dynamic VLANs, accounting and change of authorization.

Source: https://docs.trustaige.com/manage/switch-meraki

Replace these placeholders with your organization's own values:

- `<your-radius-server>`: Trustaige RADIUS server, for example `203.0.113.10`. The Server, or Primary server, the hub shows when you register your RADIUS server at a site.
- `<your-restricted-vlan>`: Restricted VLAN, for example `30`. The Restricted VLAN for headless devices on the wired network’s settings in the hub.
- `<your-radius-secret>`: RADIUS shared secret, a secret. The hub shows it once, when you register your RADIUS server at a site.

A Meraki access policy sends each port's 802.1X to your RADIUS servers and,
with **Hybrid authentication**, falls back to MAB when a device sends no EAP
within 8 seconds. Meraki's MAB sends PAP, with the MAC in lowercase without
separators as both user name and password, which Trustaige accepts.

Read [Run a wired office on Trustaige RADIUS](/manage/wired-8021x) first for
the hub's side. Register each switch with the make **Meraki**, at the address
its RADIUS requests come from: behind a connector, the switch's own address
on the office network; otherwise the network's public address.

## Before you start

| You need | Why |
|---|---|
| MS 14 or later | Host modes need MS 10.12, and the failed and critical authentication VLANs and re-authentication interval need MS 14. |
| The wired network served at a site, with each switch registered there | The hub gives you the servers, the port and the shared secret. |
| The VLANs Trustaige will name, allowed on each switch's uplink | `<your-restricted-vlan>`, and the wired network's **VLAN** if you set one. |

## The access policy

1. In the Meraki dashboard, open **Switching › Configure › Access
   policies** and add an access policy named `Trustaige`.

2. **Authentication method:** your RADIUS server. Under **RADIUS servers**,
   add `<your-radius-server>`, the hub's **Port**, and the shared secret
   (`<your-radius-secret>`). Add the secondary server if the hub showed one.

3. **RADIUS accounting:** enabled, with the same servers and the port after
   the hub's **Port**.

4. **RADIUS CoA support:** enabled. Meraki switches take change of
   authorization and Disconnect-Requests on UDP 1700, which the hub already
   uses for the make **Meraki**.

5. **Host mode:** **Multi-Domain** for a PC behind an IP phone: the phone in
   the port's voice VLAN, the PC in the data VLAN. Trustaige marks a device
   registered with the kind **Phone** as a voice device
   (`device-traffic-class=voice`) on switches registered with the make
   **Meraki**, whether it joins by MAC or by certificate. Multi-Domain needs a
   voice VLAN on the port; give the phone that VLAN as its **VLAN of its own**.
   Where a port has more than one data device, choose **Multi-Auth**, which
   decides each device separately.

6. **Access policy type:** **Hybrid authentication**.

7. **Guest VLAN** and **Failed authentication VLAN:** leave empty. Either
   would place a device Trustaige refused on a network anyway.

8. Save, then assign the policy to ports: **Switching › Monitor › Switch
   ports**, select the ports, **Edit**, set **Type** to **Access**, choose the
   `Trustaige` access policy, and **Update ports**.

Meraki applies the VLAN Trustaige names (`Tunnel-Type` VLAN,
`Tunnel-Medium-Type` 802, `Tunnel-Private-Group-ID`) without further
settings. Allow Trustaige's disconnect addresses, listed when you choose
**Disconnects on UDP 1700** beside the switch on the site's page, through any
firewall in front of the switches.

## Check it works

1. Plug a managed PC into an assigned port, then a printer.
2. In the dashboard, the port's page shows each client, its authentication
   method and VLAN. **Network-wide › Event log** shows 802.1X and MAB
   outcomes.
3. In the hub, **Recent joins** shows each decision, and the activity names
   the port.
4. Block the PC in the hub; with CoA support on, 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 switch sent a MAB request without Message-Authenticator. Update the switch
to current MS firmware. Meraki's dashboard offers no setting for it.

**The printer takes long to come up, or doesn’t reach MAB**

The access policy type is **802.1X**, not **Hybrid authentication**, or the
port isn't assigned the policy.

**Activity says “An access point that is not registered sent a request.”**

The switch's requests come from an address that isn't registered. Each MS
switch sends from its own management address; register every switch at the
site, or the network's public address when they share one.

## What hasn't been confirmed yet

- Meraki doesn't say whether MS switches add Message-Authenticator to MAB
  requests; its Blast-RADIUS notice covers MX appliances only. Trustaige's lab
  hasn't recorded an MS switch's MAB request yet.
- Whether MS switches act on `Session-Timeout` with `Termination-Action`
  `RADIUS-Request` isn't documented. If they don't, the policy's
  **Re-authentication interval** decides when a device is asked again.
- How an MS switch 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. Meraki documents dynamic voice
  VLANs from MS 15.

## Meraki documentation

- [MS switch access policies (802.1X)](https://documentation.meraki.com/Switching/MS_-_Switches/Design_and_Configure/Configuration_Guides/Access_Control/MS_Switch_Access_Policies_(802.1X))
- [Change of authorization with RADIUS on MS switches](https://documentation.meraki.com/MS/Access_Control/Change_of_Authorization_with_RADIUS_(CoA)_on_MS_Switches)
- [MAC-based RADIUS on MS switches](https://documentation.meraki.com/Switching/MS_-_Switches/Design_and_Configure/Configuration_Guides/Access_Control/Configuring_Microsoft_NPS_for_MAC-Based_RADIUS_-_MS_Switches): the MAB user name and password format
