Configuration Guide User guide
FastIron Configuration Guide 631
53-1002494-02
Metro Ring Protocol
MRP CLI example
The following examples show the CLI commands required to implement the MRP configuration
shown in Figure 49 on page 623.
NOTE
For simplicity, the figure shows the VLANs on only two switches. The CLI examples implement the
ring on all four switches.
MRP commands on Switch A (master node)
The following commands configure a VLAN for the ring. The ring VLAN must contain both of the
node interfaces with the ring. Add these interfaces as tagged interfaces, since the interfaces also
must be in each of the customer VLANs configured on the node.
Brocade(config)#vlan 2
Brocade(config-vlan-2)#tag ethernet 1/1 to 1/2
Brocade(config-vlan-2)#metro-ring 1
Brocade(config-vlan-2-mrp-1)#name “Metro A”
Brocade(config-vlan-2-mrp-1)#master
Brocade(config-vlan-2-mrp-1)#ring-interface ethernet 1/1 ethernet 1/2
Brocade(config-vlan-2-mrp-1)#enable
Brocade(config-vlan-2-mrp-1)#exit
Brocade(config-vlan-2)#exit
Active interface The physical interfaces that are sending and receiving RHPs.
NOTE: If a port is disabled, its state is shown as “disabled”.
NOTE: If an interface is a trunk group, only the primary port of the group
is listed.
Interface Type Shows if the interface is a regular port or a tunnel port.
RHPs sent The number of RHPs sent on the interface.
NOTE: This field applies only to the master node. On non-master nodes,
this field contains 0. This is because the RHPs are forwarded in
hardware on the non-master nodes.
RHPs rcvd The number of RHPs received on the interface.
NOTE: On most Brocade devices, this field applies only to the master
node. On non-master nodes, this field contains 0. This is
because the RHPs are forwarded in hardware on the non-master
nodes. However, on the FastIron devices, the RHP received
counter on non-master MRP nodes increment. This is because,
on FastIron devices, the CPU receives a copy of the RHPs
forwarded in hardware.
TC RHPs rcvd The number of Topology Change RHPs received on the interface. A
Topology Change RHP indicates that the ring topology has changed.
State changes The number of MRP interface state changes that have occurred. The
state can be one of the states listed in the Forwarding state field.
Interface Type Shows if the interface is a regular port or a tunnel port.
TABLE 117 CLI display of MRP ring information (Continued)
Field Description