If the analyzer does not see Sampled Values or GOOSE frames, the problem is almost always where and how you capture (mirror port, VLAN, filter, tag) and not the field unit. The quick test is to look at the transmitted frame counter on the unit's port: if it grows, the traffic exists and you are not seeing it; if it does not grow, the unit is not publishing.
Symptom
You connected the analyzer to the process bus to check the Sampled Values (SV) or GOOSE streams and the capture does not show what you expected: it is empty, it only contains management traffic, or it shows the messages of one unit but not those of another. At the same time, the subscribing relays may be working normally, which rules out a dead network.
Before suspecting the field unit, remember that traffic is seen only where it passes. Process bus messages are layer-2 multicast: the switch does not spread them over all ports, and a mirror port does not see the whole network. To understand what must appear in a correct capture, see IEC 61850 traffic in Wireshark: what a capture reveals. This guide only covers what to do when it does not appear.
Likely causes, from most to least likely
| # | Cause | How to recognize it |
|---|---|---|
| 1 | The mirror copies another port, or only one direction | The capture has traffic from the chosen port but not from the unit; it sees only ingress or only egress |
| 2 | The capture port belongs to another VLAN or the mirror does not include the stream’s VLAN | Untagged frames are seen but not the tagged ones, or the reverse |
| 3 | Capture filter that does not match the frame | With the filter the capture is empty; without it frames appear |
| 4 | The network card or driver strips the VLAN tag or drops frames | The VLAN and priority fields do not appear; the port counter exceeds what was captured |
| 5 | The unit does not publish (publishing disabled, no synchronization, configuration not loaded) | The transmit counter of the unit’s port does not grow |
| 6 | PRP or HSR redundancy modifying the visible frame | Frames with different encapsulation are seen, or only on one of the two networks |
| 7 | The analyzer does not decode the protocol | There are frames in the list, but as generic “Ethernet” with no SV or GOOSE detail |
| 8 | Loss due to rate: the machine cannot keep up with the capture | There are periodic gaps in the sample counters |
How to diagnose it
Follow the order; each step rules out a family of causes.
- Confirm that the unit transmits. On the switch, read the statistics of the unit’s port (transmitted or received frames, depending on the port direction). Take them twice, one minute apart. If they grow, the traffic exists and the problem is in the capture. If not, go to cause 5.
- Capture without a filter. Remove the capture filter and keep only the display filter. If frames appear, the filter was the cause. Put back one that accepts frames with and without a VLAN tag, because a filter written for one form does not find the other.
- Check the mirror. Verify the source port, the direction (ingress, egress or both) and the VLANs included. As a test, mirror the port that goes from the unit to the switch: everything the unit publishes passes there.
- Compare counters. If the unit’s port counts many more frames than were captured, there is loss in the card, the driver or the disk, or the mirror port is saturated.
- Look at the frame type. With PRP or HSR redundancy, the frames carry additional information or their own tag. If you only see one of the two networks, capture on the missing network or on the RedBox port.
- Test the decoder. If you see frames that are not interpreted, enable decoding of the protocol or apply “decode as” for the corresponding frame type.
Illustrative example
A generic situation, with example numbers. A field unit publishes 4,800 frames per second. The capture laptop, connected to the mirror, shows 3,100 per second. The port statistics indicate 4,800 per second, so the unit does publish. The difference, 1,700 frames per second (35 %), is lost in the capture machine: the disk does not sustain the write rate. Switching to an in-memory capture for ten seconds, the frames match the port counter. The cause was the rate, not the network.
Field checklist
- The unit’s physical link is up and the port transmit counter grows.
- The analyzer has no capture filter and the correct interface selected.
- The mirror covers the port, the direction and the VLAN of the stream.
- The card driver keeps the VLAN tag (or the capture was taken on a port that does not need it).
- The number of captured frames matches the port counter.
- The SV and GOOSE decoder is active.
- The unit has publishing enabled, configuration loaded and time synchronization.
- On redundant networks, both branches were captured.
What to do
- Mirror or VLAN wrongly defined: correct them on the switch. It is a network configuration change that must be recorded and agreed with whoever operates the substation.
- Loss due to rate: capture in memory, in short windows, or with dedicated capture equipment.
- Unit that does not publish: check the publishing configuration against the engineering file. If the unit did publish and stopped, see Lost sampled values on the process bus and Fiber link with errors on the process bus.
- Tags and priorities: if the VLAN or the priority do not match the plan, see VLAN and priority in IEEE 802.1Q.
- Redundant networks: confirm the topology in PRP and HSR according to IEC 62439-3.
Two capture errors that mislead
Capturing on the port of the receiving unit. If the analyzer is on the port of a relay that does not subscribe to the stream, the switch does not deliver those frames to it. Capturing there and concluding “there are no Sampled Values” is an error of location, not a finding.
Trusting the analyzer list without looking at its loss statistics. Analyzers report how many frames the driver or the operating system dropped. If that number is not zero, the capture is incomplete and cannot be used to claim that something “was not published”. Note this figure along with the time and the port of each capture, so that you can repeat it under the same conditions.
What not to do
- Do not connect a laptop to an in-service process bus port without agreement from operations: a badly configured port can inject traffic or create a loop.
- Do not change the mirror configuration of a switch in operation without a backup of the previous configuration and a way to roll back.
- Do not draw conclusions from a capture without comparing with the port counters.
- Do not disconnect fibers of energized equipment or look into the end of a fiber: the light from optical units can damage eyesight.
- Do not transmit test frames from the analyzer into a network in service.
When to call us
If the capture still does not show the process bus, or shows traffic that does not match the engineering file, we review the capture, the mirror, the VLANs and the publishing configurations. We configure it remotely. Write to us.
Frequent problems
The network analyzer does not see the switch traffic
How it shows up. The analyzer is plugged into a spare switch port to study any traffic (MMS, DNP3, IEC 60870-5-104 or management) and only broadcasts, multicasts and the laptop’s own messages appear.
Likely causes, in order.
- There is no mirror port. A switch delivers a frame addressed to one device only through the port where that device sits; promiscuous mode on the laptop does not change that.
- The mirror copies another source or only one direction, or the session was not activated or saved after a restart.
- The conversation does not cross that switch, because both devices hang from another one or use the second path of a redundant network.
- The mirror port is oversubscribed: copying both directions, or several ports, into one of the same speed drops frames.
How to diagnose. Check in the switch address table through which ports both ends come in. Generate known traffic between them and compare the source and mirror port counters with what was captured.
What to do. With authorization, set the mirror on the correct port and in both directions, note the previous configuration and remove the session when done. If frames are lost, mirror fewer ports, use a faster destination or a network TAP installed during a maintenance window. The features worth requiring from the device are covered in substation Ethernet switch.
Related guides
- What an IEC 61850 capture in Wireshark should show
- Wireshark: filters and captures for IEC 61850
- Process bus
- Sampled Values and GOOSE bandwidth
- IP and VLAN addressing plan
- Quality of the samples from a merging unit
References
- IEC 61850-9-2, Specific communication service mapping (SCSM) – Sampled values over ISO/IEC 8802-3.
- IEC 61869-9, Instrument transformers – Part 9: Digital interface for instrument transformers.
- IEC 62439-3, Industrial communication networks – High availability automation networks: PRP and HSR.
- IEEE 802.1Q, Bridges and bridged networks (virtual LANs).
Frequently asked questions
Why does Wireshark not show Sampled Values even though the relay receives the samples?
Because the capturing machine is not on the path of those frames. Sampled Values frames are layer-2 multicast: the switch delivers them only through the ports that need them, and a mirror port copies only what passes through the source port you chose. If the mirror is on another port, in the wrong direction or on another VLAN, the capture comes out empty.
How do I tell a unit that does not publish from a badly made capture?
Compare with an independent counter: the statistics of the switch port the unit is connected to. If the transmitted frames increase and your capture does not see them, the error is in the capture. If they do not increase, check the unit: publishing enabled, synchronization, configuration loaded and physical link.
Is a capture on a laptop good enough for the process bus?
It is fine for a spot check of one or a few units. With many units publishing, the frame rate can exceed what the laptop's network card, driver or disk can sustain, and frames are lost without warning. For a full analysis, use a dedicated capture port and equipment prepared for that rate.