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
In a nutshell
  • 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.

Client fails to connecttriggersDynamic capturesaved to cloudlinked toEventin Insightsdownloadpcap fileWireshark

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.

SettingOptions
Capture typeWireless, wired and WAN edge ports
ScopeSpecific clients, WLANs, APs or radio bands
LimitsNumber of packets, packet size in bytes, session duration
FiltersCanned filters, advanced tcpdump filters, the Expression Builder
DeliveryStreamed 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.

SitePacket Captureschoose type and scopeStart capturestream or localpcap fileopen inWireshark

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.

Exam tip

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 areaShows
SummaryConnection status of APs, switches, WAN edges and Wi-Fi clients
Network eventsEvent logs with timestamps, failure reasons and affected entities
ChartsDevice status, client distribution and data usage over time
ApplicationsClients and bytes sent and received per application on WAN and wireless
AnomaliesDetected 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.

ToolBest for
SLEHow many users, and which cause
InsightsWhat happened to this site, device or client, and when
Packet captureThe 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.

Watch out

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.