Defining a class, Defining a traffic behavior – H3C Technologies H3C S12500 Series Switches User Manual

Page 34

Advertising
background image

25

Figure 5 QoS policy configuration procedure

Defining a class

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Create a class and

enter class view.

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

By default, the operator of a class is AND.
The operator of a class can be AND or OR.

AND—A packet is assigned to a class only when

the packet matches all the criteria in the class.

Using AND as the operator in a class, you must

make sure no conflict exists between the if-match
clauses or the parameters in each if-match clause,

and you can configure only one ACL for the class.

OR—A packet is assigned to a class if it matches

any of the criteria in the class.

3.

Configure match
criteria.

if-match match-criteria

For more information, see the if-match command in
ACL and QoS Command Reference.

Defining a traffic behavior

A traffic behavior is a set of QoS actions (such as traffic filtering, shaping, policing, and priority marking)
to take on a class of traffic.
To define a traffic behavior:

Advertising