R2511-HP MSR Router Series ACL and QoS Configuration Guide(V5)
57
Predefined classes, traffic behaviors, and policies
The system predefines the following classes, traffic behaviors, and policies:
Predefined classes
The system predefines some classes and defines general rules for them. You can use these predefined
classes when defining a policy.
• 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.
Predefined traffic behaviors
The system predefines some traffic behaviors and defines QoS features for them.
• ef—Assigns a class of packets to the EF queue and assigns 20% of the available interface/PVC
bandwidth to the class of packets.
• af—Assigns a class of packets to the AF queue and assigns 20% of the available interface/PVC
bandwidth to the class of packets.
• be—Defines no features.
• be-flow-based—Assigns a class of packets to a WFQ queue and specifies the drop policy as
WRED. By default, 256 WFQ queues exist, and WRED is an IP precedence-based drop policy.
Predefined QoS policy
The system predefines a QoS policy, specifies a predefined class for the policy and associates a
predefined behavior with the class. The policy is named default, with the default CBQ action.
The policy default is defined as follows:
• Associates the predefined class ef with the predefined traffic behavior ef.
• Associates predefined classes af1 through af4 with the predefined traffic behavior af.
• Associates the predefined class default-class with the predefined traffic behavior be.
Defining a class
To define a class, create the class first, and then configure match criteria in class view.
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 and keyword is used, and the
relation between match criteria is logical AND.










