Page review information
Edition covered
— (methodology page) — exact governing revision not yet recorded
Content status
Reviewed
Coverage
Ethernet capture attachment methods, placement, and hygiene; serial-bus capture tooling is covered on the serial protocol pages
Last reviewed
August 2026
Primary reference
The official published standard — required for final decisions

Confirm the applicable specification revision, device firmware, vendor implementation, network architecture, cybersecurity requirements, and project-specific constraints before applying anything on this page.

Overview

Modern Ethernet is switched: frames are forwarded only to the port that needs them. A laptop plugged into a spare switch port sees broadcast traffic, multicast it happens to receive, and its own conversations — and normally nothing else. Traffic between a PLC and a drive on two other ports is invisible to it. Every capture plan starts by answering one question: how do the packets I care about physically reach my capture interface?

There are four answers, each with real trade-offs.

flowchart TD
    PLC[PLC] --- SW[Managed Switch]
    SW --- VFD[VFD]
    SW --- EWS[Engineering Workstation<br/>Method 1: local capture]
    SW -. "mirror of PLC port" .-> AN1[Analyzer<br/>Method 2: SPAN]
    PLC --- TAP[Inline TAP<br/>Method 3] --- SW2[to switch]
    TAP -.-> AN2[Analyzer]

The Four Methods

Method 1 — Capture on the engineering workstation

Run Wireshark on the machine that is itself one end of the conversation. Useful for traffic that originates or terminates there: OPC UA clients, SCADA polling, programming software, device web interfaces, Modbus TCP test clients.

Method 2 — Managed-switch port mirroring (SPAN)

Configure the switch to copy traffic from a source port (or VLAN) to a destination port where the analyzer sits. Usually the best general-purpose method on industrial networks.

Configure: source port, destination port, direction (RX, TX, or both — normally both), and optionally a VLAN source.

Risks and limits:

Method 3 — Network TAP

A TAP (test access point) is installed inline in the link and copies both directions to the analyzer. It is the most faithful method: it observes both directions at full rate, does not depend on switch configuration, and a good TAP does not drop frames.

Risks and limits:

Method 4 — Legacy hub

An old half-duplex hub repeats every frame to every port, so a laptop on a hub sees everything. It is generally a poor method: it forces half-duplex operation, reintroduces collisions, and changes the timing behavior of the network it is supposed to observe. Do not use a hub on real-time or safety-related networks without a controlled test plan — the measurement method itself can create the fault, or a new one.

Method Sees third-party traffic Fidelity under load Production impact to attach
Workstation capture No n/a None
Port mirroring (SPAN) Yes (mirrored ports) Mirror may drop frames Switch config change (authorized)
Network TAP Yes (that link) Highest Link interruption to insert
Hub Yes (all ports) Alters network behavior High — avoid on live systems

Where to Capture

Capture Hygiene

Ring-Buffer Captures for Intermittent Faults

Intermittent industrial faults may occur once per shift or once per week — a manual five-minute capture will miss them. A ring buffer captures continuously into a rotating set of files so the fault is always inside the retained window when it finally happens.

Time-based rotation with TShark (Wireshark’s command-line capture tool):

tshark \
  -i 1 \
  -b duration:300 \
  -b files:24 \
  -w industrial-network-ring.pcapng

Size-based rotation works the same way where traffic volume varies:

tshark \
  -i 1 \
  -b filesize:100000 \
  -b files:20 \
  -w capture-ring.pcapng

Verify exact option syntax against the TShark version in use.

Confidentiality

Never share packet captures from an employer’s or customer’s network — not in forum posts, not in vendor support tickets without approval, not in a public “capture library”. Captures expose IP addressing schemes, hostnames, device identities and firmware revisions, and operational data (setpoints, recipes, production timing). Treat a capture file with the same confidentiality as the network documentation itself. If a capture must be shared for support, get authorization and sanitize it first — and be aware that sanitization tools have limits.

Common Faults

Symptom Likely causes First checks
Capture shows almost nothing but broadcasts Method 1 on a switched network — the traffic never reaches the laptop Use SPAN or a TAP; confirm what the capture point can physically see
Only one direction of a conversation visible RX-only or TX-only mirror; capturing on the wrong VLAN Mirror direction setting; VLAN membership of source and destination
Gaps in the capture during the fault window SPAN oversubscription or mirror deprioritization under load Compare mirrored volume vs destination port rate; retry with a TAP
Link went down when the TAP was inserted Expected — insertion interrupts the link; negotiation settled differently Verify speed/duplex after insertion; schedule insertions as planned work
Wireshark reports dropped packets Capture machine too slow, USB NIC limits, disk bottleneck dumpcap with ring buffer, disable name resolution, faster capture hardware
Timestamps don’t match PLC fault log Clocks not synchronized before capture Sync via NTP or record offsets; re-capture if correlation is the goal
Network misbehaved while a hub was inline Half-duplex operation and collisions introduced by the hub Remove the hub; use a TAP; treat any hub findings as suspect
Capture works on the bench, not on the machine Different capture point sees different traffic; machine traffic stays local to its switch Map the topology; move the capture point inside the fault boundary
Trust Boundary — Engineering Judgment Required

This site is an independent educational reference for industrial automation standards. It paraphrases and organizes guidance in original language; it is not a substitute for the official published standards, professional engineering judgment, or legal review, and content has not been independently verified against current published editions.

Items marked Review pending await technical review against the identified edition. Items marked Planned have no reviewed source material behind them. Do not rely on this site for compliance determinations, safety-critical design decisions, or legal interpretation.