Tiza Group

Home / Guides / Testing, commissioning and faults

Switch Ring Breaks When a Link Fails

Why a redundant Ethernet ring loses service when a link drops, and how to measure recovery, find the fault and fix it. We configure it remotely.

By Shadai García, CEO and protection engineer at Tiza Group.

Short answer

A ring that breaks when a link fails is not delivering its redundancy. The most frequent causes are the protocol disabled or misaligned between switches, an edge port wrongly declared, a ring that was already split and nobody noticed, a link that is half failing, and a recovery time longer than the service tolerates. It is measured by causing a controlled failure and reading the protocol state.

Symptom

The substation has a ring of switches designed so that, if a link drops, traffic goes around the other way. But when a link drops (because of a loose connector, a damaged cable or work in the yard), part of the network loses communication: relays disappear from SCADA, gateways do not respond, or recovery takes much longer than expected. In other cases there is no obvious dropped link, but the network has bursts of traffic or periodic losses after a topology change.

A ring that breaks on the first failure is worse than a network with no ring, because it gives a false sense of security. For the basics of the protocol and the topology, see the parent guide on the RSTP protocol.

Likely causes, from most to least likely

#CauseHow to recognize it
1The ring was already open: a dropped link or a blocked port nobody had noticedWith all devices “normal”, the status shows a blocked port or a link with no carrier; the first real failure splits the network
2Protocol disabled, in another mode or with different parameters between switchesThe status read shows different roots or versions; the ring splits into two “islands”
3End-device ports declared as network links or the other way roundPorts to relays or gateways are not marked as edge, or a ring port is: every change restarts convergence
4Link that is half failing: errors, wrong duplex, attenuated fibreThe error counter of that port grows; the link goes up and down and forces the tree to recalculate several times
5Recovery longer than the service toleratesThe network recovers, but takes longer than control, GOOSE or supervision accept; it is measured with a controlled failure
6More switches than the protocol guarantees to recover within the expected timeThe topology grew through expansions without recalculation; the ring path is long
7Loop through an unplanned second path (a cable bridge, an added switch)Traffic storm, CPU load and a ring that does not stabilize

How to diagnose it

  1. Read the protocol state on each switch: which is the root, which ports are forwarding and which blocked, how long ago the last topology change was. A healthy ring shows a single root, a single blocking point and few topology changes.
  2. Draw the real ring with the states you read and compare it with the design diagram. The difference between the two is often the cause: a link that does not exist, an unplanned port.
  3. Check the counters of each ring port: frame errors, losses, link state changes. A port with growing errors is a degraded link.
  4. Check the switch event log at the time of the failure: topology changes, port down, port blocking, each with its timestamp. For the logs to be comparable, the clocks must be synchronized; see Time synchronization in substations.
  5. Measure recovery with a controlled failure, in an agreed window: disconnect a link with a recording running and measure how long it takes for communication to return to the critical devices (a continuous ping to several devices or the GOOSE loss log will do). Repeat at different points of the ring.
  6. Compare the result with the requirement of the most demanding service that travels over that network.
  7. Check capacity: how many switches are in the ring and whether growth went beyond what the protocol is designed to recover; for sizing, see How many switches the station network needs.

Field checklist

  • Real ring diagram drawn from the state of each switch.
  • A single root and a single blocking point identified.
  • Protocol, version and parameters the same on all switches in the ring.
  • Ports to end devices declared as edge; ring ports not.
  • Error counters of each ring port read.
  • Duplex and speed verified on each link.
  • Optical power measured on suspect fibre links.
  • Window agreed and critical services in a safe condition for the test.
  • Controlled failure at a minimum of two points in the ring, with times measured.
  • Result compared with the requirement of the most demanding service.
  • Final state of the ring restored and confirmed.

Illustrative example

A generic situation with invented figures. A ring of 6 switches. In a review before the test, the status of one of the switches shows a ring port with no carrier for weeks: a badly seated fibre connector. Nobody had seen it because the ring, open at that point, kept communicating like a line. The day another link drops, the ring is split in two and 3 relays disappear from SCADA.

Before the test the degraded link is repaired and the ring is confirmed closed, with a single blocked port. Then the controlled disconnection is done at two points: recovery is measured at each and compared with what the control tolerates. If the time exceeds the requirement, the parameters and the number of hops are reviewed. The key finding was that the “redundant” ring was no longer redundant, and that the first real link failure revealed it.

What to do

  • Close the ring first: repair or replace the degraded link and confirm the state before adjusting anything else.
  • Align the protocol: same version and consistent parameters on every switch; the design guide for each protocol says what must match.
  • Declare edge ports correctly toward end devices and leave ring ports as normal links.
  • Measure and document recovery at each point and repeat after any expansion.
  • If the time is not enough: consider moving to a faster-recovery protocol or to redundancy with no switchover, compared in PRP and HSR: network comparison.
  • Monitor the ring: link down, port blocking and topology change alarms brought to SCADA, so you never again have an open ring without knowing.
  • Needs a specialist if there are loops that cannot be identified, if the network grew without recalculation or if there are devices with ports that behave differently.

What not to do

  • Do not disconnect links “to see what happens” on a live network without a window or preparation.
  • Do not disable the protocol to stop the bursts: without it, a loop can bring down the whole network.
  • Do not connect an extra cable between switches without checking the diagram: it creates a loop.
  • Do not ignore a port that goes up and down: each cycle forces a recalculation and can interrupt traffic.
  • Do not mix protocol versions or modes in the same ring without knowing how they behave.
  • Do not declare the test passed without measuring the time: “it recovered” is not a figure.

When to call us

If the ring splits, if you cannot show the real topology, if recovery times do not meet the service or if network growth requires rethinking the redundancy, a specialist is advisable. We configure it remotely: we review the state of each switch, align parameters and define the recovery test and the monitoring. Request it here.

References

  • IEEE 802.1D-2004, Standard for Local and Metropolitan Area Networks: Media Access Control (MAC) Bridges (rapid spanning tree protocol, RSTP).
  • IEC 62439-1, Industrial communication networks – High availability automation networks – Part 1: General concepts and calculation methods.
  • IEC 62439-3, Industrial communication networks – High availability automation networks – Part 3: Parallel Redundancy Protocol (PRP) and High-availability Seamless Redundancy (HSR).
  • IEC 61850-90-4, Network engineering guidelines.

Frequently asked questions

Why does a redundant ring lose service with a single link down?

Because redundancy only exists if the protocol is active and consistent on every switch. If any switch has it disabled or in a different mode, or if the ring was already open beforehand, the first failure leaves part of the network isolated.

How long should the network take to recover?

It depends on the protocol, the number of switches and the configuration. The acceptable value is set by the application: what the substation control, GOOSE or supervision tolerates. It is measured with a controlled failure and compared with that requirement, not with a generic number.

Is it safe to disconnect a link to test the ring?

Only with the bay and critical services in a condition that tolerates the interruption, in a window agreed with operations and with someone watching the protocol and device status live. On a live network without that preparation, the test can cause the very outage you want to avoid.

WhatsApp