Configuring Media Redundancy Protocol (MRP)

Configuring Media Redundancy Protocol (MRP) on AMG570 Switches

Media Redundancy Protocol (MRP) is a standards-based protocol used in Ring topologies to avoid single points of failure by providing a recovery time of 500ms or less. 

Here is a guide on how to configure MRP on AMG 570 switches:

Web GUI

Step 1: Connect multiple switches together physically to create a ring where one switch will be the ‘manager’ and the rest will be ‘client’ switches

Step 2: On the left-hand side of the Web GUI, navigate to Configuration > Media Redundancy

Step 3: Select the ‘+’ symbol on the right-hand side of the Media Redundancy Protocol Configuration tab

 

Step 4: Input the ‘Instance’ number you want to create, select ‘Manager’ for the switch you want to configure as the manager. The ‘manager priority’ must be set to a value of ‘0x0’ and select ‘Manager react on link change’ to be enabled by clicking on the empty box. Input the VLAN of which you will configure MRP on and set your ‘Recovery profile’ to either 500ms or 200ms. Select what ports you would like to configure ‘Ring port 1’ and ‘Ring port 2’ on and select the ‘Enable’ box. Once you have done this, you can configure Signal Fail Triggers or a configuration interconnection for a specific VLAN if you require this

Step 5: You must disable spanning-tree protocol in order to enable MRP to work correctly. You can do this by navigating to Configuration > Spanning Tree > CIST Ports and de-selecting the ‘STP Enabled’ boxes

Step 6: Now you must configure the ring ports and change them to ‘Hybrid’ mode and select ‘Tag All’ on the ‘Egress Tagging’ tab 

Select ‘Save’ at the bottom of the Web GUI and access the Web GUI of a ‘Client’ switch. To save your configuration to your startup configuration, on the left-hand side of the Web GUI, select Maintenance > Configuration > Save startup-config

Step 7: On the client switch, navigate to Configuration > Media Redundancy on the left-hand side of the Web GUI

Step 8: Select the ‘+’ symbol on the right-hand side of the Media Redundancy Protocol Configuration tab

Step 9: Input the correct ‘Instance’ number, select the role as ‘Client’, select the ‘Manager react on link change’ box, input the correct VLAN ID you are configuring this protocol on, select the same ‘Recovery profile’ as the ‘Manager’ switch and input your correct ports for your ‘Ring Port 1’ and ‘Ring Port 2’ and select the ‘Enable’ box

Step 10: You must disable spanning-tree protocol in order to enable MRP to work correctly. You can do this by navigating to Configuration > Spanning Tree > CIST Ports and de-selecting the ‘STP Enabled’ boxes

Step 11: Now you must configure the ring ports and change them to ‘Hybrid’ mode and select ‘Tag All’ on the ‘Egress Tagging’ tab

Once you have done this, select ‘Save’ at the bottom of the Web GUI. To save your configuration to your startup configuration, on the left-hand side of the Web GUI, select Maintenance > Configuration > Save startup-config

Step 12: Repeat ‘Steps 7-11' until you have configured MRP on all switches within your ring

Step 13: To verify your configurations, on the left-hand side of the Web GUI, navigate to ‘Monitor > Media Redundancy

Command Line Interface (CLI)

Step 1: Connect multiple switches together physically to create a ring where one switch will be the ‘manager’ and the rest will be ‘client’ switches. In this scenario, there will 1x manager switch and 3x client switches in the ring

Step 2: To configure the manager switch, start by accessing the configuration mode by entering the command “configure terminal"

configure terminal

Step 3: Enter the commands “media-redundancy 1” > “role mrm” > “name “MyDomain” > “port1 interface GigabitEthernet 1/1” > “port2 interface GigabitEthernet 1/2" > “control-vlan 1” > “recovery-profile 200ms” > “mrm priority 0x0” > “mrm react-on-link-change" > “admin-state enable” 

media-redundancy 1 role mrm name MyDomain port1 interface GigabitEthernet 1/1 port2

interface GigabitEthernet 1/2 control-vlan 1 recovery-profile 200ms mrm priority 0x0 mrm react-on-link-change admin-state enable 

Step 4: To disable spanning-tree, enter the command “spanning-tree aggregation” > “no spanning-tree"

spanning-tree aggregation

no spanning-tree

Step 5: To configure port interfaces for the ring ports, enter the command “interface GigabitEthernet 1/1” > “switchport hybrid allowed vlan 1” > “switchport hybrid egress-tag all” > “switchport mode hybrid” > “no lldp receive” > “no lldp transmit” > “no spanning-tree". Repeat this step for the second port interface on GigabitEthernet 1/2

interface GigabitEthernet 1/1

switchport hybrid allowed vlan 1

switchport hybrid egress-tag all

switchport mode hybrid

no lldp receive

no lldp transmit

no spanning-tree

Step 6: To save your configuration, exit the configuration mode by entering the command “exit”. Now enter the command “copy running-config startup-config"

exit

copy running-config startup-config

Step 7: To configure your client switches, access configuration mode by entering the command “configure terminal

configure terminal

Step 8: Enter the commands “media-redundancy 1” > “role mrc” > “name “MyDomain”” > “port1 interface GigabitEthernet 1/1” > “port2 interface GigabitEthernet 1/2" > “control-vlan 1” > “recovery-profile 200ms” > “mrm react-on-link-change" > “admin-state enable”

media-redundancy 1 role mrc name MyDomain port1 interface GigabitEthernet 1/1

port2 interface GigabitEthernet 1/2 control-vlan 1 recovery-profile 200ms mrm react-on-link-change admin-state enable

Step 9: To disable spanning-tree, enter the command “spanning-tree aggregation” > “no spanning-tree" 

spanning-tree aggregation

no spanning-tree

Step 10: To configure port interfaces for the ring ports, enter the command “interface GigabitEthernet 1/1” > “switchport hybrid allowed vlan 1” > “switchport hybrid egress-tag all” > “switchport mode hybrid” > “no lldp receive” > “no lldp transmit” > “no spanning-tree". Repeat this step for the second port interface on GigabitEthernet 1/2

interface GigabitEthernet 1/1

switchport hybrid allowed vlan 1

switchport hybrid egress-tag all

switchport mode hybrid

no lldp receive

no lldp transmit

no spanning-tree

 

Step 11: To save your configuration, exit the configuration mode by entering the command “exit”. Now enter the command “copy running-config startup-config". Repeat Steps 7-10 on the other client switches in the ring topology.

copy running-config startup-config

Step 12: To view your configured MRP ring, on a switch enter the command “show media-redundancy status”.  

show media-redundancy status

Here is an example of a MRP configuration: