Juniper Mist Monitoring and Analytics · Topic 2 of 3
Packet Captures and Juniper Mist Insights
Learn Juniper Mist dynamic and manual packet captures, switch captures, Wireshark use and the Insights page with its events and charts for JN0-253.
- 5 min
- Dynamic captures run automatically on wireless connection failures such as DHCP, authorization and association failures.
- Dynamic captures are saved to the cloud and attached to events; a paperclip icon marks them.
- Manual captures: Site > Packet Captures, with scope, limits, filters and stream or local options.
What it is
A packet capture records frames as they pass through a Mist device, so you can see exactly what went wrong in a connection. Juniper Mist offers dynamic captures that run automatically when a failure happens and manual captures that you start yourself.
Insights is the portal view of events and telemetry for a site, a device or a client. It shows what happened, when, and to whom, and it is where you find the events that carry dynamic packet captures.
How it works
Dynamic packet captures
When a wireless client fails to connect to an AP, the AP automatically records a short capture of the failing exchange and uploads it to the cloud. You no longer need to reproduce an intermittent problem with a laptop in the right place.
| Dynamic capture triggers |
|---|
| DHCP Timeout, DHCP Denied, DHCP Terminated |
| Authorization Failure |
| 11r FBT Failure, OKC Auth Failure |
| Association Failure |
To find one, go to Monitor > Service Levels, click Insights and open the events list. Events with a paperclip icon have a capture. Select the event and click Download Packet Capture in the details pane.
Manual packet captures
Manual captures are started from Site > Packet Captures. You choose the capture type and then narrow it down.
| Setting | Options |
|---|---|
| Capture type | Wireless, wired and WAN edge ports |
| Scope | Specific clients, WLANs, APs or radio bands |
| Limits | Number of packets, packet size in bytes, session duration |
| Filters | Canned filters, advanced tcpdump filters, the Expression Builder |
| Delivery | Streamed to the portal by default, or Local Capture kept on the device |
Headers are truncated by default to keep files small. Local Capture is needed on APs running firmware older than 0.10.x, which cannot stream.
Switch packet captures
For switches, use Site > Wired > Switch Packet Captures. You add one or more switches, set the packets per switch, packet size and duration, and add port filters across those switches. Capture Traffic on CPU includes control plane traffic. Transit traffic is captured on ingress only.
When the capture ends, download the file with Captured File and open it offline in Wireshark or tcpdump.
Opening captures in Wireshark
Captures download as .pcap files. For wireless captures, set the IEEE 802.11 protocol preference under Preferences > Protocols > IEEE 802.11, and add radiotap columns such as channel, data rate and RSSI to read the RF details of each frame.
Juniper Mist does not collect or store packet payload data from captures. Only transmission and connection data is used, which is why captures can run automatically without exposing user content.
Juniper Mist Insights
Open Monitor > Service Levels and click the Insights button. You can look at the whole organization, a site, a device such as an AP, a switch or a WAN edge, or a single client.
| Insights area | Shows |
|---|---|
| Summary | Connection status of APs, switches, WAN edges and Wi-Fi clients |
| Network events | Event logs with timestamps, failure reasons and affected entities |
| Charts | Device status, client distribution and data usage over time |
| Applications | Clients and bytes sent and received per application on WAN and wireless |
| Anomalies | Detected problems such as DHCP failures and BSSID spoofing |
Insights telemetry covers the past 60 minutes up to the past 7 days. Premium Analytics (Analytics > Premium Analytics) extends history to up to 3 years with a subscription and adds dashboards such as AP Insights.
Insights and SLEs together
SLEs tell you how many users are affected and which classifier is to blame. Insights tells you the story for one site, device or client: which event happened at what time. The usual path is SLE first, then Insights for the affected item, then the packet capture attached to the event.
| Tool | Best for |
|---|---|
| SLE | How many users, and which cause |
| Insights | What happened to this site, device or client, and when |
| Packet capture | The exact frames of the failure |
Common mistakes
Thinking you must reproduce a failure to capture it. Dynamic packet capture records connection failures automatically and links the file to the event.
Looking for dynamic captures on the Packet Captures page. Dynamic captures are attached to events in Insights, marked with a paperclip. Site > Packet Captures is for manual captures.
Expecting payload in Mist captures. Mist does not collect or store payload data; captures are for connection and transmission troubleshooting.
Do not mix up the two capture pages. Wireless and WAN manual captures are on Site > Packet Captures, while switch captures are on Site > Wired > Switch Packet Captures.
What to remember for the exam
- Dynamic captures run automatically on wireless connection failures such as DHCP, authorization and association failures.
- Dynamic captures are saved to the cloud and attached to events; a paperclip icon marks them.
- Manual captures: Site > Packet Captures, with scope, limits, filters and stream or local options.
- Switch captures: Site > Wired > Switch Packet Captures; transit traffic is ingress only.
- Captures download as .pcap files for Wireshark.
- Mist does not collect or store payload data from captures.
- Insights is reached from Monitor > Service Levels with the Insights button.
- Insights shows events, charts and application usage for a site, device or client, for up to 7 days by default.
- Premium Analytics extends history to up to 3 years.
Check yourself
A user failed to connect an hour ago. How can you see the failing frames without reproducing the problem?
Open the event in Insights; if it has a paperclip icon, download the dynamic packet capture that was taken automatically.
Where do you start a manual wireless packet capture?
On Site > Packet Captures, where you choose the type, scope, limits and filters.
How far back does the Insights page show data without Premium Analytics?
From the past 60 minutes up to the past 7 days.
Topic 2 of 3 in Juniper Mist Monitoring and Analytics
Test yourself on Juniper Mist Monitoring and Analytics
The full Juniper JNCIA-MistAI JN0-253 question bank has 668 questions, with timed practice exams and an explanation for every answer.
This study guide is independent and is not affiliated with, endorsed by, or sponsored by Juniper. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.