The wrong way first — two clouds and a console cable
That split-brain is the old model. Mist Wired Assurance ends it: the same cloud, the same Marvis, the same SLE language for both the AP and the switch port it sits on. One click correlates "Wi-Fi degraded" with "the uplink port flapped". And when a single VLAN must follow users across many sites — or a teleworker's home AP must land on the corporate VLAN — Mist Edge tunnels that traffic to a central data plane. This lesson covers both: getting the EX into the cloud, and pulling traffic to the Edge.
Pre-quiz · before you read — predict
Q1. A brand-new, cloud-ready EX switch is racked and cabled to the internet. What gets it into your Mist org with zero CLI?
Pre-quiz · predict
Q2. Your dynamic port profiles stop applying and the commit warns "Configuration group mist-dpc is not defined". What broke?
mist-dpc group and op/event scripts to build dynamic config; if the script directories or groups are missing (a known EX3400 adoption bug), the apply-group references nothing and dynamic ports go dead.Pre-quiz · predict
Q3. A Mist Edge in a cluster fails entirely. What happens to the APs tunneling to it?
① Adopt the EX — greenfield ZTP vs brownfield CLI
There are two doors into Mist Wired Assurance. Greenfield (a brand-new cloud-ready EX) and brownfield (an EX already in production with a config you cannot lose). Both end in the same place — the switch shows Connected in Organization > Inventory — but the journey differs.
Greenfield — zero-touch provisioning
A cloud-ready EX runs a phone-home client. Power it on with internet reachability, claim it in Organization > Inventory > Switches > Claim using the order activation code, and it appears in inventory in minutes. No CLI, no image juggling.
Brownfield — the copy-paste adoption
For an EX already carrying a production config, you adopt it without wiping anything. Mist generates a per-org command block — always copy it fresh from the portal, never hand-type it. It creates a local mist user, enables SSH/NETCONF, and sets up an outbound-SSH session so the switch dials home.
set system services ssh set system services netconf ssh set system login user mist class super-user authentication ... set system services outbound-ssh client mist ... commit and-quit
user@ex4400> show system connections | match 2200 tcp4 0 0 10.10.10.21.51022 oc-term...mist.com.2200 ESTABLISHED
Before adopting a brownfield switch, run request system configuration rescue save. If anything goes sideways during adoption, rollback rescue restores the exact pre-Mist config. On a live access switch carrying real users, this 5-second habit has saved many a midnight.
A brand-new cloud-ready EX switch is racked with internet access but has never been touched. What is the correct, lowest-effort way to bring it into your Mist org?
② Port Profiles & SLEs — where the AI earns its keep
Once adopted, you stop configuring interfaces one by one and start assigning port profiles. There are two kinds, and the difference is a top exam question and a top real-world bug.
Pinned to a specific interface or range. The port always uses this config — VLAN, PoE, speed. Predictable, simple, and the right default for uplinks.
Applied automatically when a rule matches — a RADIUS attribute, an LLDP chassis-id, or a MAC/OUI. The same socket becomes AP, phone, or user port by what plugs in.
Dynamic ports ride on the mist-dpc apply-group + Mist op/event scripts. If those don't build during adoption, dynamic ports go dead — the famous "not defined" commit warning.
Four scores: Successful Connects, Throughput, Switch Health, Switch–AP/Bandwidth. Each breaks down to a root cause you can act on.
show configuration groups mist-dpc returns something on every adopted switch.Symptom you see: dynamic port profiles silently never apply, and a commit prints apply-groups mist-dpc: mgd: Configuration group 'mist-dpc' is not defined. Cause: during adoption the Mist op/event scripts and the mist-dpc / mist-script groups failed to initialize — the script dirs /var/db/scripts/op and /var/db/scripts/event came up empty (a known EX3400 adoption issue). The apply-group then points at nothing. Fix: remove the switch from the site and let Mist re-push, or re-run the Mist event script so the groups rebuild. Use a static profile in the meantime.
mist-dpc is not defined warning scroll past. The dynamic profiles had never been live on those units — the apply-group was empty. Re-adopting the affected switches rebuilt the scripts, and 802.1X came up everywhere.
The four wired SLEs — and Marvis on top
Wired Assurance scores every switch against four SLEs: Successful Connects (did clients get DHCP/authz?), Throughput, Switch Health (CPU, memory, temperature, PSU), and Switch–AP / Bandwidth (are uplinks and PoE healthy?). Each SLE drills into a root-cause classifier, so "connect failures" resolves to "DHCP timeout on VLAN 40" rather than a vague red bar. Marvis turns those into actions — and into proactive anomaly detection that flags a baseline deviation before users notice.
marvis> troubleshoot switch ex4400-luck-01
Switch ex4400-luck-01 · Health 96 · Connects 89 Anomaly: ge-0/0/14 negotiated 100M-HALF (expected 1G-FULL) Likely cause: duplex mismatch / cabling on AP uplink Suggested action: re-seat cable or pin port to 1G-full [Apply]
After adoption, your dynamic port profiles never apply and a commit prints "Configuration group 'mist-dpc' is not defined". What is the most likely root cause?
mist-dpc apply-group plus Mist op/event scripts pushed at adoption. On some EX models (EX3400 is the classic) those scripts/groups don't build, leaving the apply-group pointing at nothing. Re-adopt or re-run the event script to rebuild them. Port profiles are widely supported (a is false); tunnels are unrelated (c).Pause & predict
Marvis flags your "Successful Connects" SLE dropping only on VLAN 40 (guest), only in the evening. What's your first hypothesis before you open the root-cause view?
③ Mist Edge & Tunnels — anchor a remote AP to HQ
Most traffic should break out locally at the AP. But sometimes you need client traffic to surface at a central point — a teleworker's home AP placing corporate laptops on the HQ VLAN, or one guest VLAN that must follow users across 50 sites. That's the job of Mist Edge: the AP builds an L2TPv3 tunnel (optionally IPsec-protected) to a Mist Edge, which breaks the traffic out centrally.
A Mist Tunnel object holds the design: the tunnel protocol, the primary and secondary clusters, the tunneled VLANs, failover timers, and auto-preemption. A Mist Edge must belong to a cluster before it can terminate any tunnel. APs load-balance across the Edges in the primary cluster; the host-selection options are Shuffle (default) and Shuffle by Site (pins a site's APs to one Edge).
▶ Watch a remote AP anchor its client to the HQ VLAN
Click Play. Each stage lights up as a teleworker's laptop traverses the Mist Edge tunnel.
Symptom you see: the Edge shows happily connected to the cloud, but no AP tunnel ever comes up — or it flaps. Cause: the OOBM (management) interface and the tunnel-termination IP were put on the same subnet. Mist requires them on different subnets so management and data planes don't collide. Fix: re-IP the tunnel interface into its own subnet, and confirm UDP 1701 (plus 500/4500 for IPsec) is open end-to-end.
RadSec proxy — the teleworker's authentication lifeline
For remote APs, the Edge can run a cloud-managed RadSec proxy on TCP 2083. It securely relays the remote AP's 802.1X requests to your RADIUS/NAC, so a teleworker authenticates with the same identity policy as someone at HQ — no RADIUS server exposed to the internet.
Your Mist Edge is connected to the cloud, but no AP tunnel will establish. You discover the OOBM interface and the tunnel-termination IP are in 10.50.10.0/24 together. What's wrong?
Pause & predict
You set tunnel host-selection to "Shuffle by Site" instead of the default "Shuffle". What behaviour does that change?
④ Tunnel or not? — the decision that saves your WAN
This is the architect-grade call, and the most common way teams hurt themselves. The default is local breakout (distributed data plane): the AP maps clients to a tagged VLAN and traffic exits at the edge. You reach for the Mist Edge (centralized data plane) only for specific reasons.
One-screen cheat-sheet
Pin this. It's the whole lesson — adoption, port profiles, SLEs, and tunneling — on a single card.
🤖 Ask the AI Tutor
Tap any question — instant context-aware answer. No login, no waiting.
Pre-curated answers from Juniper Mist Wired Assurance + Mist Edge docs and community Q&A. For complex prod issues, paste your show system connections + Mist Edge tunnel status into chat.techclick.in.
📝 Wrap-up — seven more
You've already answered 3 inline. Seven left. 70% (7 of 10) total marks the lesson complete on your profile. Tap Submit all answers at the end.
🧠 Explain it back (self-explanation)
In one or two lines, explain to yourself: why does adopting EX switches into the same cloud as your APs help troubleshooting, and when is a Mist Edge tunnel actually worth it? Typing it cements it.
👋 Teach a friend
Best retention hack: explain Mist Edge to a teammate in 60 seconds. Try this opener — "A Mist Edge tunnel is a company shuttle bus: a home AP puts your laptop on it, it drives over an L2TPv3/IPsec road to HQ, and you arrive on the corporate VLAN as if you'd walked into the building."
⏰ Lock it in — spaced recall
Want a 3-question refresher on this lesson in 3 days? Drop your email — we'll nudge you once (no spam).
📖 Glossary
- Wired Assurance
- Mist's cloud service that brings AI monitoring, SLEs, and Marvis to EX/QFX switches — the wired counterpart of Wi-Fi Assurance.
- ZTP / phone-home
- Zero-touch provisioning: a cloud-ready switch's phone-home client reaches a redirect server, gets pointed at Mist, and pulls its config — claimed by activation code.
- Brownfield adoption
- Onboarding an existing, production EX into Mist without wiping its config, using a per-org copy-paste CLI block that sets up outbound-SSH.
- Dynamic port profile
- A port config applied at runtime when a rule matches (RADIUS attribute, LLDP, MAC/OUI); depends on the
mist-dpcapply-group being present. - SLE
- Service-Level Expectation — a continuously scored target. Wired SLEs: Successful Connects, Throughput, Switch Health, Switch–AP/Bandwidth.
- Mist Edge
- An appliance that terminates L2TPv3/IPsec tunnels from APs to provide a centralized data plane; must belong to a cluster to terminate tunnels.
- OOBM
- Out-of-band management interface on a Mist Edge — talks to the cloud; must be on a different subnet than the tunnel-termination IP.
- RadSec proxy
- RADIUS-over-TLS (TCP 2083) running on the Edge to securely relay a remote AP's 802.1X auth to internal RADIUS.
📚 Sources
- Juniper Mist Docs — Wired Assurance Overview + Datasheet (switch SLEs, Marvis, cloud-ready EX/QFX). juniper.net/documentation
- Juniper Mist Docs — Onboard Switches to Mist Cloud + Adding an EX Series Switch to the Juniper Mist Cloud (ZTP phone-home, activation code, brownfield copy-paste, rescue save). mist.com/documentation
- Juniper Mist Docs — Static and Dynamic Port Profiles / Dynamic Port Configuration. juniper.net/documentation
- Community — Juniper Community "Mist Wired Assurance and Dynamic Port Configuration" & Network Direction "Mist Wired Assurance: mist-dpc is not Defined" (EX3400 adoption bug, empty script dirs, workaround).
- Juniper Mist Docs — Mist Edge Getting Started + Mist Edge Design Guide + Configure a Teleworker + Configure a RADIUS Proxy Server (L2TPv3/UDP 1701, IPsec 500/4500, OOBM vs tunnel-IP subnets, primary/secondary cluster, Shuffle / Shuffle by Site, RadSec 2083). juniper.net/documentation
- Security — Juniper Mist Security Alerts page & PSIRT; e.g. CVE-2025-21589 API auth-bypass on WAN Assurance / Session Smart Router (subscribe to JSAs, patch promptly).
- Certification — HPE Juniper JNCIA-MistAI (JN0-253) blueprint (Wired/WAN/Routing Assurance, onboarding, RadSec/Mist certs) & JNCIS-MistAI-Wired specialist track.
What's next?
You've got the switch in the cloud and traffic flowing through the Edge. Next, the part everyone actually wants: when something breaks, Marvis pulls a dynamic packet capture at the moment of failure and tells you the anomaly in plain English — and offers one-click actions to fix it.