Overview of Media Redundancy Protocol in PROFINET
Media Redundancy Protocol (MRP) is a redundancy management protocol defined in IEC 62439-2 for ring topologies using IEEE 802.3 / Ethernet as the physical layer. PROFINET networks standardized by PROFIBUS & PROFINET International (PI) adopted MRP as the primary method of achieving media redundancy for plant-floor and process automation segments. In an MRP ring, every node in the closed loop must be capable of recognizing and processing MRP frames; a single non-compliant device on the ring path will prevent the protocol from establishing a redundant path and will, in the worst case, break the ring into a linear segment.
The redundancy design hinges on one device being the MRM (MRP Manager) and every other device operating as an MRC (MRP Client). The MRM sends test frames in both directions; under normal operation it blocks one of its ring ports logically so that the ring behaves as a line. When a link fails, the MRM unblocks the alternate port, restoring connectivity in a deterministic time (typically 200 ms or 500 ms depending on the configured profile).
MRP Protocol Architecture (IEC 62439-2)
MRP specifies the behavior of bridges (switches) inside a redundancy domain. The protocol elements that must be implemented on every ring node are:
-
MRP Manager (MRM): One per ring. Sends
MRP_Testframes,MRP_LinkChange,MRP_LinkDown,MRP_TopologyChange, andMRP_InTestmessages. Controls the state of its blocked ring port. - MRP Client (MRC): Every other ring node. Forwards MRP frames transparently, reports link changes, and reacts to manager commands.
- MRP Auto-Manager (MRA): Optional. Takes over MRM function if the original MRM fails. Selected by priority during ring initialization.
The protocol state machine runs continuously while the ring is closed. Frame types and their EtherType values are standardized so that devices from different vendors interoperate. The default multicast destination MAC used by MRP test frames is 01:15:4E:00:00:01 for the manager and 01:15:4E:00:00:02 for clients; the frame payload carries the MRP UUID, the priority, and the current ring state.
MRP Ring Topology Requirements
An MRP ring must be physically wired as a closed loop. The minimum and maximum ring lengths are defined by the maximum number of MRP nodes and the cumulative cable delay. Per IEC 62439-2, a ring may contain up to 50 MRP devices, although PROFINET deployments typically cap the count at 16 to 32 devices per ring to keep the recovery time within the 200 ms / 500 ms envelope. The maximum number of hops depends on the configured recovery profile:
| Profile | Max Nodes (typical) | Max Recovery Time | Use Case |
|---|---|---|---|
| 200 ms default | 16 | 200 ms | Standard PROFINET IO, motion with limited jitter tolerance |
| 500 ms default | 32 | 500 ms | Process automation, large I/O count |
| 200 ms extended | 50 | 200 ms | Specialized PROFINET networks with fiber delay buffers |
Each device in the ring must be a switch (or a device with an integrated Ethernet switch) that exposes two physical ring ports and that has MRP firmware support enabled. PROFINET IO devices such as ET 200S, ET 200MP, ET 200SP, SCALANCE switches, and many third-party PROFINET devices include built-in MRP support in their switch ASICs.
Managed vs Unmanaged Switches in MRP Rings
An MRP ring requires managed switches that support MRP on every ring port. Unmanaged switches cannot participate in the protocol because they lack the firmware hooks to:
- Inspect MRP multicast frames.
- Update the state of ring ports (forwarding / blocked / disabled) under MRM control.
- Forward or originate
MRP_TestandMRP_LinkChangemessages. - Generate MRP topology change notifications to PROFINET controllers.
An unmanaged switch inserted in a ring path will not generate MRP frames and will not respond to MRM commands. The MRM will see the ring as broken because the MRP_Test frames do not return, and the ring will remain permanently in the "open" state — the redundancy is lost. Therefore:
Examples of switches that support MRP include:
- Siemens SCALANCE: XC-200, XB-200, XC-300, XR-300, XC-400, XR-500, XM-400, and the legacy X-200 / X-300 series. Firmware version must support MRP; for example SCALANCE XC-200 requires firmware ≥ V4.0 for full MRP interoperability, and SCALANCE X-200 requires firmware ≥ V4.5.
- Cisco Catalyst IE3x00 Rugged Series: IE3300, IE3400, IE3500. The MRP client and manager roles are configured in IOS-XE 17.4 and later. Refer to the Cisco IE3x00 Redundancy Protocol Configuration Guide, IOS-XE 17.4.
- Hirschmann (Belden) RS / RSP / OCTOPUS series: Industrial managed switches with HiOS or HiView support MRP client and manager.
- Schneider Electric ConneXium (TCSEFEC) and TCSESM series: Managed switches with MRP support.
Connecting Non-MRP Devices via Switch Ports
Non-MRP devices may exist in the same physical network but must be attached to a managed switch port that is not a ring port. In the typical topology:
- Switches A, B, C, D form the closed ring; each is an MRP client, and switch A is the MRM.
- Switch C has an extra Ethernet port (a "non-ring" port) where Device 3 (a non-MRP endpoint, e.g., a simple HMI panel, a laptop service tool, a third-party sensor without MRP firmware) is connected.
- Because Device 3 is attached to a single non-ring port, the MRP protocol running on switch C continues uninterrupted. The MRP test frames pass through switch C's ring ports only; they are not forwarded to Device 3 in a way that requires its participation.
This is the correct answer to the original question. Attaching a non-MRP device to a non-ring port of a switch that is part of the MRP ring does not break the redundancy. The non-MRP device simply behaves as a leaf node, like any PROFINET IO device or TCP/IP endpoint downstream of a managed switch.
Ring Port Configuration
When commissioning an MRP ring, configure each switch in three logical steps:
- Designate ring ports. On the MRM, port 1 is typically the primary ring port and port 2 the secondary. The MRM blocks the secondary port under normal operation.
-
Assign MRP role. Set one device as MRM and the rest as MRC. In PROFINET terms, the role is configured in the device's Web Based Management (WBM) or TIA Portal topology editor. SCALANCE terminology:
MRP Manager / MRP Client / MRP Auto-Manager. - Set recovery time profile. Choose 200 ms or 500 ms to match the application requirement. With more than 16 devices or long fiber runs, select 500 ms.
Configuration example for a SCALANCE XC-200 in the WBM:
Layer 2 > MRP > MRP Configuration
Role: MRP Manager
Ring Port 1: Port 1
Ring Port 2: Port 2
Recovery Time: 200 ms
MRP Domain UUID: default (or per-project UUID)
MRP Manager Priority: 1000 (lower value = higher priority)
For an MRC client on the same network:
Layer 2 > MRP > MRP Configuration
Role: MRP Client
Ring Port 1: Port 1
Ring Port 2: Port 2
MRP Client vs MRP Manager Role Selection
Only one device can be the MRM at a time. If the original MRM fails, an MRA (Auto-Manager) takes over based on the priority value configured. If no MRA is present, the ring will operate in a degraded state without redundancy. Selection rules:
- The manager priority is a 16-bit unsigned integer. Lower value = higher priority.
- If two devices claim the MRM role, the one with the lower priority value wins; ties are broken by MAC address (lower MAC wins).
- The
MRP_AutoManagerrole is recommended for the second-most-capable device on the ring as a hot standby.
Recovery Time and Performance
The recovery time profile determines how long the network can be without a working path before the MRM reconfigures. The 200 ms profile is the default for PROFINET IO and is mandatory for PROFINET with motion (PROFIdrive) where the communication cycle is in the 1 ms range. The 500 ms profile is allowed for process automation where the bus cycle is 10 ms or longer. The maximum recovery time formula from IEC 62439-2:
T_recovery_max = 3 × T_max_frame_transfer + 3 × T_test_interval + T_reaction_MRM
Where T_max_frame_transfer is the maximum time a frame needs to traverse the ring, T_test_interval is the interval between MRP test frames (typically 20 ms), and T_reaction_MRM is the time the manager needs to detect the failure and unblock the alternate port.
Switch Models Supporting MRP
The following table summarizes representative industrial managed switches that are commonly deployed in MRP rings. Confirm the firmware version supports MRP before commissioning; some lower-tier managed switches disable MRP unless a feature license is enabled.
| Manufacturer | Model Family | MRP Role | Min Firmware for MRP |
|---|---|---|---|
| Siemens | SCALANCE XC-200 | MRM / MRC / MRA | V4.0 |
| Siemens | SCALANCE XC-300 | MRM / MRC / MRA | V1.0 |
| Siemens | SCALANCE XC-400 | MRM / MRC / MRA | V1.0 |
| Siemens | SCALANCE XR-300 | MRM / MRC / MRA | V1.0 |
| Siemens | SCALANCE XM-400 | MRM / MRC / MRA | V6.0 |
| Cisco | Catalyst IE3300 / IE3400 / IE3500 | MRM / MRC / MRA | IOS-XE 17.4 |
| Belden / Hirschmann | RS20 / RS30 / RS40 | MRC (MRA with HiOS) | HiOS 06.0+ |
| Schneider Electric | TCSEFEC / TCSESM | MRC | Firmware ≥ 5.x |
| Phoenix Contact | FL SWITCH 2300 / 3300 / 4800 | MRC | Firmware ≥ 4.0 |
Configuration Example: Mixed Ring with Non-MRP Endpoint
Topology description:
- Switch 1 (SCALANCE XC208, MRM, priority 100)
- Switch 2 (SCALANCE XC208, MRC)
- Switch 3 (SCALANCE XC208, MRC) — has Device 3 attached to port 5 (non-ring port)
- Switch 4 (SCALANCE XC208, MRA, priority 1000)
- Device 3: Non-MRP HMI panel connected to port 5 of switch 3
Ring cable: Switch 1 port 1 → Switch 2 port 1 → Switch 2 port 2 → Switch 3 port 1 → Switch 3 port 2 → Switch 4 port 1 → Switch 4 port 2 → Switch 1 port 2 (closes the ring).
Result: MRP test frames circulate through the ring. The non-MRP HMI on switch 3 port 5 receives normal unicast/multicast traffic from the PROFINET controller but is not required to process MRP frames. The MRM (switch 1) blocks its ring port 2 under normal operation. If a cable is cut between switch 2 and switch 3, the MRM unblocks ring port 2 and the network re-converges within 200 ms. The HMI continues to communicate via switch 3's ring port 2, which is now forwarding on the alternate path.
Verification and Diagnostics
After commissioning, verify the MRP ring with the following checks:
- WBM / Web interface status: Each switch should show "MRP ring closed" and the MRM should show "Secondary ring port: blocked".
-
Wireshark capture: Filter on the MRP multicast destination MAC
01:15:4E:00:00:01to confirm the manager is sendingMRP_Testframes at the configured interval (default 20 ms). - PROFINET diagnostics: In TIA Portal, open the Topology Editor and confirm the ring ports are highlighted as "ring port" and the redundancy role of each device matches the design.
- PRONETA / SINEC NMS: Use Siemens PRONETA (free) or SINEC NMS (licensed) to scan the network and read MRP role / ring state from each device.
- Failover test: Disconnect one ring cable and confirm that the network re-converges within the configured recovery time and that PROFINET IO devices do not drop out.
Troubleshooting Matrix
| Symptom | Probable Cause | Resolution |
|---|---|---|
| Ring stays "open" (no redundancy) | Unmanaged or non-MRP device inserted in the ring path | Replace with managed MRP-capable switch; verify with PRONETA |
| MRM not visible in TIA Portal | Wrong role assigned (MRC instead of MRM) | Reconfigure one device as MRM with highest priority |
| Recovery time exceeds 500 ms | Too many ring nodes, long fiber, or 200 ms profile used incorrectly | Switch to 500 ms profile, split into two rings, or reduce hop count |
| Intermittent PROFINET IO faults after ring closure | Non-MRP device in ring path or daisy-chained hub | Remove hub from ring; ensure every ring node is MRP-capable |
| Two devices both report MRM role | Duplicate manager priority and same MAC range | Assign unique manager priority values; verify UUIDs match |
| MRP frames not seen on Wireshark | Capture port not on ring path, or manager disabled | Mirror a ring port; confirm MRM is enabled in WBM |
| Auto-Manager does not take over | No MRA configured or priority too low | Configure at least one MRA with priority 1000 or higher |
FAQ
Can a non-MRP device be connected to a switch that is part of an MRP ring?
Yes, but only to a non-ring port of the switch. Connecting a non-MRP device on the ring cable itself breaks the redundancy. Use an extra free port on the MRP switch to attach the device as a leaf node.
Do I need a managed switch for MRP?
Yes. MRP requires a managed switch that supports the protocol on every node of the closed ring. Unmanaged switches and hubs cannot process MRP frames and will prevent the ring from closing.
What is the difference between MRM, MRC, and MRA?
MRM (Manager) is the single active controller of the ring; it sends test frames and blocks one port. MRC (Client) is every other ring node. MRA (Auto-Manager) is an optional standby that takes over the MRM role if the original manager fails.
What is the maximum number of devices in an MRP ring?
IEC 62439-2 allows up to 50 MRP devices. PROFINET deployments typically limit the ring to 16 devices for 200 ms recovery or 32 devices for 500 ms recovery to keep the failover within the spec.
Which standard defines MRP?
MRP is defined in IEC 62439-2 (Industrial communication networks — High availability automation networks — Part 2: Media Redundancy Protocol). PROFINET networks use this standard via the PROFINET system description from PROFIBUS & PROFINET International.