Juniper EX switches and Mist access points
This page configures Juniper EX switches running Junos and Juniper Mist access points to authenticate against Airgate and accept CoA, and Mist WLANs to send guests to the Airgate portal.
Before you begin
Section titled “Before you begin”- The Airgate RADIUS address (
203.0.113.10in the examples) and a shared secret. - EX: the switch management address, for example
10.0.0.2. - Mist: the subnet your APs are on, for example
10.0.10.0/24(each AP sends RADIUS from its own IP unless you use a Mist Edge proxy).
Step 1: Add the devices in Airgate
Section titled “Step 1: Add the devices in Airgate”- Go to Network › Switches and APs › Add device.
- For a switch: Name
ex-access1, IP address or subnet10.0.0.2, Vendor profile Juniper EX switch (Junos dot1x). For Mist APs: Namemist-aps, IP address or subnet10.0.10.0/24, Vendor profile Juniper Mist access point. - On RADIUS, CoA & RadSec: enter the RADIUS shared secret, keep Require Message-Authenticator in Access-Requests on, turn on RADIUS CoA / Disconnect (RFC 5176) with CoA port
3799. - Select Save.
Step 2: EX switch, RADIUS and accounting
Section titled “Step 2: EX switch, RADIUS and accounting”set access radius-server 203.0.113.10 port 1812set access radius-server 203.0.113.10 accounting-port 1813set access radius-server 203.0.113.10 secret "<shared-secret>"set access radius-server 203.0.113.10 source-address 10.0.0.2set access profile AIRGATE authentication-order radiusset access profile AIRGATE radius authentication-server 203.0.113.10set access profile AIRGATE radius accounting-server 203.0.113.10set access profile AIRGATE accounting order radiusset access profile AIRGATE accounting update-interval 10Step 3: EX switch, 802.1X and MAC RADIUS
Section titled “Step 3: EX switch, 802.1X and MAC RADIUS”set protocols dot1x authenticator authentication-profile-name AIRGATEset protocols dot1x authenticator interface ge-0/0/10.0 supplicant multipleset protocols dot1x authenticator interface ge-0/0/10.0 mac-radiusset protocols dot1x authenticator interface ge-0/0/10.0 reauthentication 3600mac-radius authenticates devices without a supplicant by MAC address. Airgate returns VLANs with Tunnel-Type, Tunnel-Medium-Type, Tunnel-Private-Group-Id (and Juniper-VoIP-Vlan for phones), or a firewall filter with Filter-Id / Juniper-Switching-Filter.
Step 4: EX switch, CoA
Section titled “Step 4: EX switch, CoA”set access radius-disconnect-port 3799set access radius-disconnect 203.0.113.10 secret "<shared-secret>"Airgate’s CoA actions for EX: Disconnect, Bounce port (Juniper-AV-Pair = Port-Bounce) and changing attributes.
The Airgate guest portal has no Juniper EX handling. For wired guests on EX, use MAC authentication with a guest VLAN, or Wi-Fi passes on wireless.
Step 5: Mist WLAN (802.1X)
Section titled “Step 5: Mist WLAN (802.1X)”In the Mist portal, go to Site › WLANs (or a WLAN template) and edit Corp-WiFi:
| Setting | Value |
|---|---|
| Security type | Enterprise (802.1X), WPA2 or WPA3 |
| Authentication servers | RADIUS, 203.0.113.10, port 1812, shared secret |
| Accounting servers | 203.0.113.10, port 1813, interim interval 10 minutes |
| CoA/DM | Enabled (port 3799) |
| VLAN | Dynamic, RADIUS-assigned, if Airgate assigns VLANs |
Mist matches CoA on Calling-Station-Id and Event-Timestamp, so keep NTP in sync. Airgate’s CoA actions for Mist APs are Reauthenticate and Disconnect; Mist has no port bounce.
Step 6: Mist guest portal (optional)
Section titled “Step 6: Mist guest portal (optional)”- On the guest WLAN, set Guest portal to Forward to external portal, with the portal URL
https://airgate.contoso.com/portal/<tenant>/<portal>. - Add the portal host to Allowed hostnames (walled garden).
- Copy the WLAN’s API secret from the portal settings.
- In Airgate, on the portal’s Login & network section:
- Vendor handling: Juniper Mist
- Login model: Web login
- Mist WLAN API secret: the secret from step 3
- Grant duration (Meraki / Mist): minutes, or
0for the remaining account lifetime
After sign-in, Airgate sends the guest to a signed portal.mist.com/authorize URL, which grants access on the Mist side.
Verify
Section titled “Verify”- EX:
show dot1x interface ge-0/0/10.0 detailshows the client authenticated with the VLAN Airgate sent. - Monitor › Sign-in log shows the request with the switch or AP under Switch / AP.
- On Monitor › Connected now, choose Disconnect. The result is
Disconnect-ACK.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Cause | Fix |
|---|---|---|
| No request in the Sign-in log | EX sends from another address | Set source-address on the RADIUS server to the registered address. |
CoA timeout on EX |
radius-disconnect missing |
Add radius-disconnect-port 3799 and the client with its secret. |
CoA Disconnect-NAK on Mist |
Event-Timestamp outside the AP’s window |
Fix NTP on the APs. |
| Mist guest login fails after sign-in | The secret is not set on the Airgate portal | Enter Mist WLAN API secret. |