Configuring Metro Ring Protocol
To configure MRP ring between two
devices—device 1 (mrp-master) and device 2 (mrp-member), complete the following
steps.
- Enter the global configuration mode.
- Configure VLAN on the device.
- Add ports to the VLAN.
This step adds tagged port(s) ethernet 2/2/2 and 2/2/3 to port-vlan 2.Ideally, a VLAN that runs MRP should have only two uplink/p2p links because MRP configuration takes only two interfaces.
- Define MRP ring ID to enable MRP.
Note: The ring ID ranges from 1 through 1023. 256 is reserved for VSRP.The prompt changes to MRP mode to define MRP parameters.
- In the MRP mode, configure other MRP parameters such as the following:
- (Optional) Define a name for the MRP ring.
- Configure MRP ring interfaces.
- Define the device as MRP ring Master.
There can be only one MRP Master node in the MRP Ring. Master node will have a Blocking port after convergence.
- (Optional) Enable MRP ring diagnostics.
MRP ring diagnostics can only be enabled on a Master node, otherwise the following error is displayed - "Error - Metro Ring diagnostics can only be enabled on ring Master".
- (Optional) Change MRP ring default timers.
DUT1(config-vlan-2-mrp-2)# preforwarding-time 600
The preforwarding time must be at least twice the value of the hello-time and must be a multiple of the hello-time. If UDLD is also enabled on the device, RUCKUS recommends that you set the MRP preforwarding time slightly higher than the default of 300 ms; for example, to 400 or 500 ms.
DUT1(config-vlan-2-mrp-2)# hello-time 300
- Enable MRP ring.
- Similarly configure MRP on other devices in the same ring which will be acting as ring member(s).
- Verify MRP configuration on device 1.
- Use the
show runningcommand. - Use the
show metro-ringcommand.DUT1(config)# show metro-ring Total MRP entries configured = 1 Metro Ring 2 - mrp-node1 ============= Ring State Ring Master Topo Hello Prefwing id role vlan group time(ms) time(ms) 2 enabled master 2 not conf 300 600 Ring interfaces Interface role Forwarding state Active interface interface type ethernet 2/2/2 primary disabled none regular ethernet 2/2/3 secondary disabled none regular RHPs sent RHPs rcvd TC RBPDUs rcvd State changes 0 0 0 2
- Use the