R3303-HP HSR6800 Routers ACL and QoS Configuration Guide

153
[Router-classifier-A] quit
# Configure a class for the child QoS policy to match the traffic accessing non-HTTP services.
[Router] traffic classifier http
[Router-classifier-http] if-match not acl 3001
[Router-classifier-http] quit
# Configure a traffic behavior for the child QoS policy to limit the rate to 30 Mbps.
[Router] traffic behavior http
[Router-behavior-http] car cir 30000
[Router-behavior-http] quit
# Associate the traffic behavior with the corresponding traffic class in the child QoS policy.
[Router] qos policy http
[Router-qospolicy-http] classifier http behavior http
[Router-qospolicy-http] quit
# Configure a traffic behavior for the parent QoS policy to limit the rate to 100 Mbps, and nest the
child QoS policy in the traffic behavior.
[Router] traffic behavior A
[Router-behavior-A] traffic-policy http
[Router-behavior-A] car cir 100000
[Router-behavior-A] quit
# Associate the traffic behavior with the corresponding traffic class in the parent QoS policy, and
apply the parent QoS policy to the incoming traffic of interface GigabitEthernet 2/0/0.1.
[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.