beautypg.com

Mrp cli example, Mrp commands on switch a (master node), Refer to – Brocade FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide User Manual

Page 91

background image

CLI display of MRP ring information (Continued)

TABLE 20

Field

Description

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.

MRP CLI example

The following examples show the CLI commands required to implement the MRP configuration shown
in

Figure 10

on page 84.

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.

device(config)#vlan 2

device(config-vlan-2)#tag ethernet 1/1 to 1/2

device(config-vlan-2)#metro-ring 1

device(config-vlan-2-mrp-1)#name "Metro A"

device(config-vlan-2-mrp-1)#master

device(config-vlan-2-mrp-1)#ring-interface ethernet 1/1 ethernet 1/2

MRP CLI example

FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide

91

53-1003086-04