R3303-HP HSR6800 Routers ACL and QoS Configuration Guide

154
Guarantee 4 Mbps of bandwidth for voice traffic from department A to site Y.
Guarantee 35 Mbps of bandwidth and limit the bandwidth to 35 Mbps for traffic from department
B (VPNB) to site Y.
Guarantee 3 Mbps of bandwidth for voice traffic from department B to site Y.
Figure 56 Network diagram
Configuration procedures
# Configure MPLS L3VPN.
For more information, see MPLS Configuration Guide.
# Configure a QoS policy to mark the traffic from VPNA with local QoS ID 1.
<Router> system-view
[Router] traffic classifier any
[Router-classifier-any] if-match any
[Router] traffic behavior vpnA
[Router-behavior-vpnA] remark qos-local-id 1
[Router] qos policy vpnA
[Router-qospolicy-vpnA] classifier any behavior vpnA
[Router-qospolicy-vpnA] quit
# Configure a QoS policy to mark the traffic from VPNB with local QoS ID 2.
[Router] traffic behavior vpnB
[Router-behavior-vpnA] remark qos-local-id 2
[Router] qos policy vpnB
[Router-qospolicy-vpnB] classifier any behavior vpnB
[Router-qospolicy-vpnB] quit
# Apply the QoS policies to the incoming traffic of GigabitEthernet 2/1/0 and GigabitEthernet 2/1/1,
through which VPNA and VPNB are connected to the public network.
[Router] interface GigabitEthernet 2/1/0
[Router-GigabitEthernet2/1/0] qos apply policy vpnA inbound
[Router] interface GigabitEthernet 2/1/1
[Router-GigabitEthernet2/1/1] qos apply policy vpnB inbound
[Router-GigabitEthernet2/1/1] quit
GE2/1/
2