R3303-HP HSR6800 Routers ACL and QoS Configuration Guide
58
• 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.
3. Configure match
criteria.
if-match [ not ] match-criteria
N/A
Defining a traffic behavior
To define a traffic behavior, create the traffic behavior first and then configure QoS attributes in traffic
behavior view.
Configure AF and the minimum guaranteed bandwidth
When you configure AF and the minimum guaranteed bandwidth, follow these guidelines:
• You can apply this traffic behavior only to the outgoing traffic of an interface.
• You cannot configure the queue ef command together with the queue af command in the same
traffic behavior.