Skip to content

4.2 Ring Topologies

The previous section showed that RSTP converges in 1 to 2 seconds on a ring topology. For most industrial applications, that speed is too slow. A PLC with a 4 ms cycle time faults during a 1-second outage. Ring-specific protocols like MRP target exactly this topology and converge in under 200 ms. This section explains why rings are the dominant topology in industrial automation.

A mesh topology connects every switch to multiple other switches. Mesh topologies offer redundancy but require complex cabling and a loop-prevention protocol (STP or RSTP) that takes 1 to 2 seconds to converge after an outage.

A ring topology connects switches in a closed loop. Each switch connects to exactly 2 neighbors. The cabling is simple: 1 cable to the left neighbor, 1 cable to the right neighbor. Ring-specific protocols (MRP, ERPS) converge in under 200 ms because the protocols are optimized for this specific topology.

Industrial networks favor rings for 3 reasons:

  1. Simple cabling — each switch needs exactly 2 ring ports
  2. Fast convergence — ring protocols converge in under 200 ms. RSTP on a ring takes 1 to 2 seconds.
  3. Deterministic behavior — the outage and recovery behavior is predictable and testable

The ring operates differently under normal conditions versus during an outage.

Under normal operation, 1 link in the ring is logically blocked to stop loops. Traffic flows in 1 direction around the ring.

When a link becomes inoperable, the Ring Manager detects the outage and unblocks its secondary port. Traffic then flows the other way around the ring.

Several ring protocols exist, each with different convergence times and use cases.

ProtocolStandardConvergencePrimary Use
MRPIEC 62439-2under 200 msFactory automation (Hirschmann, Siemens)
ERPSITU-T G.8032under 50 msCarrier-grade, multi-ring

MRP is the standard in Hirschmann/Belden networks. See Chapter 11 for a full treatment. Before enabling MRP, verify that the ring is physically wired correctly.

After installing a new ring, verify that the switches are connected in the correct order and that no switch is missing from the ring. The following script reads LLDP neighbor information from each switch and shows the ring topology. Run the script before enabling MRP:

# pip install netmiko
from netmiko import ConnectHandler
import re
SWITCHES = [
{"host": "192.168.1.100", "name": "SW-Cell1-MRM"},
{"host": "192.168.1.101", "name": "SW-Cell1-MRC1"},
{"host": "192.168.1.102", "name": "SW-Cell1-MRC2"},
]
def get_ring_neighbors(host: str) -> list[dict]:
conn = ConnectHandler(device_type="hirschmann_ssh", host=host,
username="admin", password="private")
output = conn.send_command("show lldp neighbors")
conn.disconnect()
neighbors = []
for line in output.splitlines():
m = re.match(r"(\S+)\s+(\S+)\s+(\S+)", line)
if m and "/" in m.group(1) and m.group(1) in ("1/1", "1/2"):
neighbors.append({"local_port": m.group(1),
"neighbor": m.group(2),
"remote_port": m.group(3)})
return neighbors
print("Ring topology (LLDP neighbors on ring ports):")
for sw in SWITCHES:
neighbors = get_ring_neighbors(sw["host"])
print(f"\n{sw['name']}:")
for n in neighbors:
print(f" {n['local_port']} -> {n['neighbor']} port {n['remote_port']}")

If the reconstructed topology does not match the expected ring order, then a cable is connected to the wrong port or a switch is missing. Fix the cabling before enabling MRP.

Rings are the OT standard

Ring topology with MRP is the standard for industrial automation. Simple cabling, fast convergence, deterministic behavior.

Verify topology before enabling MRP

Use LLDP neighbor data to confirm the ring is wired correctly before enabling MRP. A miscabled ring does not converge correctly.

Ring topologies deliver redundancy with simple cabling. The next section covers LACP — link aggregation for uplinks that need more bandwidth than a single cable delivers. After Part 1, Part 2 covers the network services (DHCP, DNS, NTP, NAT) that make IP networks self-configuring.

  • IEC 62439-2:2016 — Industrial communication networks — High availability automation networks — Part 2: MRP
  • ITU-T G.8032 — Ethernet Ring Protection Switching (2015)
  • Hirschmann. (2023). User Manual — HiOS: MRP and Ring Redundancy. Belden/Hirschmann.