R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide

434
Configuring QoS policy routing
Overview
QoS policy routing is a technique used to make routing decisions based on user-defined QoS policies.
Different from destination-based routing, QoS policy routing makes routing decisions based on the
source address and other criteria. For more information about QoS policies, see ACL and QoS
Configuration Guide.
QoS policy routing takes precedence over destination-based routing. If a packet meets the match criteria,
QoS policy routing applies. Otherwise, destination-based routing applies.
Configuring QoS policy routing
For more information about the configuration commands used in this section, see ACL and QoS
Command Reference.
Configuring a QoS policy
Ste
p
Command
1. Enter system view.
system-view
2. Create a class and enter class view.
traffic classifier classifier-name [ operator { and | or } ]
3. Configure match criteria.
if-match [ not ] match-criteria
4. Exit to system view.
quit
5. Create a traffic behavior and enter
traffic behavior view.
traffic behavior behavior-name
6. Configure the action of redirecting
traffic to the next hop.
redirect { cpu | interface interface-type interface-number |
next-hop { ipv4-add | ipv6-add } }
7. Exit to system view.
quit
8. Create a QoS policy and enter QoS
policy view.
qos policy policy-name
9. Associate the traffic behavior with the
class.
classifier classifier-name behavior behavior-name
Applying the QoS policy
Applying the QoS policy is supported only on a SAP module that is operating in bridge mode.
You can apply a QoS policy globally, to interfaces, or to VLANs. The QoS policy used for configuring
policy routing can be applied in only the inbound direction.
Applied to an interface, the QoS policy takes effect on the traffic received on the interface.