Mrp Cli Example - HP ProCurve 9304M Installation And Configuration Manual

Routing switches
Hide thumbs Also See for ProCurve 9304M:
Table of Contents

Advertisement

Installation and Basic Configuration Guide
This Field...
RHPs rcvd
TC RHPs rcvd
State changes

MRP CLI Example

The following examples show the CLI commands required to implement the MRP configuration shown in Figure
10.6 on page 10-10.
NOTE: For simplicity, the figure shows the VLANs on only two switches. The CLI examples implement the ring
on all four switches.
Commands on Switch A (Master Node)
The following commands configure a VLAN for the ring. The ring VLAN must contain both of the node's 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.
HP9300(config)# vlan 2
HP9300(config-vlan-2)# tag ethernet 1/1 to 1/2
HP9300(config-vlan-2)# metro-ring 1
HP9300(config-vlan-2-mrp-1)# name "Metro A"
HP9300(config-vlan-2-mrp-1)# master
HP9300(config-vlan-2-mrp-1)# ring-interface ethernet 1/1 ethernet 1/2
HP9300(config-vlan-2-mrp-1)# enable
HP9300(config-vlan-2-mrp-1)# exit
HP9300(config-vlan-2)# exit
The following commands configure the customer VLANs. The customer VLANs must contain both the ring
interfaces as well as the customer interfaces.
HP9300(config)# vlan 30
HP9300(config-vlan-30)# tag ethernet 1/1 to 1/2
HP9300(config-vlan-30)# tag ethernet 2/1
HP9300(config-vlan-30)# exit
HP9300(config)# vlan 40
HP9300(config-vlan-40)# tag ethernet 1/1 to 1/2
HP9300(config-vlan-40)# tag ethernet 4/1
HP9300(config-vlan-40)# exit
The following commands configure topology group 1 on VLAN 2. The master VLAN is the one that contains the
MRP configuration. The member VLANs use the MRP parameters of the master VLAN. The control interfaces
(the ones shared by the master VLAN and member VLAN) also share MRP state.
HP9300(config)# topology-group 1
HP9300(config-topo-group-1)# master-vlan 2
HP9300(config-topo-group-1)# member-vlan 30
HP9300(config-topo-group-1)# member-vlan 40
10 - 16
Table 10.3: CLI Display of MRP Ring Information (Continued)
Displays...
The number of RHPs received 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.
The number of Topology Change RHPs received on the interface. A
Topology Change RHP indicates that the ring topology has changed.
The number of MRP interface state changes that have occurred. The
state can be one of the states listed in the Forwarding state field.

Advertisement

Table of Contents
loading

Table of Contents