R0106-HP MSR Router Series ACL and QoS Configuration Guide(V7)
78
Red packets : 0 (Packets) 0 (Bytes)
QPPB configuration example in an MPLS L3VPN
Network requirements
As shown in Figure 23, all routers run BGP.
Configure QPPB so that Router C can perform the following tasks:
• Receive routes.
• Set the QPPB local QoS IDs.
• Use the QoS policy to limit the traffic rate to 2 Mbps in each direction.
Figure 23 Network diagram
Table 4 Interfaces and IP address assignment
Device Interface IP address
Device
Interface
IP address
Router A
GE2/1/0 192.168.1.2/24
Router B
GE2/1/0 167.1.1.2/24
GE2/1/1 167.1.1.1/24
GE2/1/1 168.1.1.2/24
Router C
GE2/1/0 169.1.1.2/24
Router D
GE2/1/1 169.1.1.1/24
GE2/1/1 168.1.1.1/24
GE2/1/0 192.168.3.2/24
Configuration procedure
1. Configure IP addresses for each interface. (Details not shown.)
2. Configure a BGP connection on Router A.
<RouterA> system-view
[RouterA] bgp 100
[RouterA-bgp] peer 167.1.1.2 as-number 200
[RouterA-bgp] peer 167.1.1.2 connect-interface gigabitethernet 2/1/1
[RouterA-bgp] address-family ipv4
[RouterA-bgp-ipv4] import-route direct
[RouterA-bgp-ipv4] peer 167.1.1.2 enable
[RouterA-bgp-ipv4] quit
[RouterA-bgp] quit
3. Configure Router B:
# Configure a VPN instance.
<RouterB> system-view
[RouterB] ip vpn-instance vpn1
[RouterB-vpn-instance-vpn1] route-distinguisher 200:1
[RouterB-vpn-instance-vpn1] vpn-target 200:1 export-extcommunity