R2511-HP MSR Router Series ACL and QoS Configuration Guide(V5)

22
Figure 5 QoS policy configuration procedure
Defining a class
The system predefines some classes and defines general match criteria for them. A user-defined class
cannot be named the same as a system-defined class. You can use these predefined classes when
defining a policy. The system-defined classes include:
The default class
default-class: Matches the default traffic.
DSCP-based predefined classes
ef, af1, af2, af3, af4: Matches IP DSCP value ef, af1, af2, af3, af4, respectively.
IP precedence-based predefined classes
ip-prec0, ip-prec1, …ip-prec7: Matches IP precedence value 0, 1, …7, respectively.
MPLS EXP-based predefined classes
mpls-exp0, mpls-exp1, …mpls-exp7: Matches MPLS EXP value 0, 1, …7, respectively.
To define a class:
Ste
p
Command
Remarks
1. Enter system view.
system-view
N/A
2. Create a class and
enter class view.
traffic classifier
classifier-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.
OR—A packet is assigned to a class if it matches
any of the criteria in the class.