150
[Router] qos policy A
[Router-qospolicy-A] classifier A behavior A
[Router-qospolicy-A] quit
[Router] interface gigabitethernet 2/0/0.1
[Router-GigabitEthernet2/0/0.1] qos apply policy A inbound
Configuration example for implementing HQoS in
an MPLS network through nesting QoS policies
Network requirements
A company has agencies in site X and site Y, which communicate through a MPLS L3VPN. The
routers function as provide edges (PEs) to connect to the public network. The company provides 100
Mbps of downstream bandwidth. Each site has three departments, A, B, and C, which belong to
VPNA, VPNB, and VPNC and connect to GigabitEthernet 2/1/0, GigabitEthernet 2/1/1, and
GigabitEthernet 2/1/2 of PE (Site X), respectively.
The service provider provides 100 Mbps of bandwidth for PE (Site X). Site X and site Y each have
two types of traffic, voice traffic with IP precedence value being 7 and data traffic with IP precedence
values being not 7. The voice traffic has higher priority than the data traffic. Department A and B are
important departments, so bandwidth must be guaranteed for them. The services of department C
are unimportant.
Configure HQoS through nesting QoS policies to:
•
Guarantee 40 Mbps of bandwidth and limit the bandwidth to 40 Mbps for traffic from department
A (VPNA) to site Y.
•
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 57 Network diagram
Configuration procedures
# Configure MPLS L3VPN.
For more information, see
MPLS Configuration Guide
.
GE2/
1/2