Skip to content

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.

  • The Airgate RADIUS address (203.0.113.10 in 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).
  1. Go to Network › Switches and APs › Add device.
  2. For a switch: Name ex-access1, IP address or subnet 10.0.0.2, Vendor profile Juniper EX switch (Junos dot1x). For Mist APs: Name mist-aps, IP address or subnet 10.0.10.0/24, Vendor profile Juniper Mist access point.
  3. 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.
  4. Select Save.
set access radius-server 203.0.113.10 port 1812
set access radius-server 203.0.113.10 accounting-port 1813
set access radius-server 203.0.113.10 secret "<shared-secret>"
set access radius-server 203.0.113.10 source-address 10.0.0.2
set access profile AIRGATE authentication-order radius
set access profile AIRGATE radius authentication-server 203.0.113.10
set access profile AIRGATE radius accounting-server 203.0.113.10
set access profile AIRGATE accounting order radius
set access profile AIRGATE accounting update-interval 10
set protocols dot1x authenticator authentication-profile-name AIRGATE
set protocols dot1x authenticator interface ge-0/0/10.0 supplicant multiple
set protocols dot1x authenticator interface ge-0/0/10.0 mac-radius
set protocols dot1x authenticator interface ge-0/0/10.0 reauthentication 3600

mac-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.

set access radius-disconnect-port 3799
set 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.

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.

  1. On the guest WLAN, set Guest portal to Forward to external portal, with the portal URL https://airgate.contoso.com/portal/<tenant>/<portal>.
  2. Add the portal host to Allowed hostnames (walled garden).
  3. Copy the WLAN’s API secret from the portal settings.
  4. 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 0 for 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.

  1. EX: show dot1x interface ge-0/0/10.0 detail shows the client authenticated with the VLAN Airgate sent.
  2. Monitor › Sign-in log shows the request with the switch or AP under Switch / AP.
  3. On Monitor › Connected now, choose Disconnect. The result is Disconnect-ACK.
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.
© 2026 Airowire Networks Pvt. Ltd. Airgate is a product of Airowire.Product · Release notes · Security