Configuring qos policy routing, Overview, Configuring a qos policy – H3C Technologies H3C SR8800 User Manual

Page 426

Advertising
background image

410

Configuring QoS policy routing

NOTE:

In this documentation, SPC cards refer to the cards prefixed with SPC, for example, SPC-GT48L, and SPE
cards refer to the cards prefixed with SPE, for example, SPE-1020-E-II.

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

NOTE:

For more information about the configuration commands used in this section, see

ACL and QoS

Command Reference.

Configuring a QoS policy

To configure a QoS policy:

Step Command

1.

Enter system view.

system-view

2.

Create a class and enter class view.

traffic classifier tcl-name [ operator { and | or } ]

3.

Configure match criteria.

if-match 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 next-hop { ipv4-add1 [ track track-entry-number ]
[ ipv4-add2 [ track track-entry-number ] ] | ipv6-add1

[ interface-type interface-number ] [ track track-entry-number ]
[ ipv6-add2 [ interface-type interface-number ] [ track

track-entry-number ] ] } [ fail-action { discard | forward } ]

7.

Exit to system view.

quit

8.

Create a QoS policy and enter QoS
policy view.

qos policy policy-name

Advertising