R3303-HP HSR6800 Routers ACL and QoS Configuration Guide
57
3. Configure WFQ.
qos wfq [ dscp | precedence ] [ queue-length
max-queue-length [ queue-number
total-queue-number ] ]
By default, FIFO
applies.
4. Display interface WFQ
configuration information.
display qos wfq interface [ interface-type
interface-number ] [ | { begin | exclude |
include } regular-expression ]
Optional.
Available in any view.
WFQ configuration example
Network requirements
Configure WFQ on Serial 2/1/1, setting the maximum queue size to 100, and the total number of
queues to 512.
Configuration procedure
# Enter system view.
<Sysname> system-view
# Enter interface view.
[Sysname] interface serial 2/1/1
# Configure WFQ on Serial 2/1/1, setting the maximum queue size to 100, and the total number of
queues to 512.
[Sysname-Serial2/1/1] qos wfq queue-length 100 queue-number 512
Configuring CBQ
To configured CBQ:
1. Create a class and define a set of traffic match criteria in class view.
2. Create a traffic behavior, and define a group of QoS features in traffic behavior view.
3. Create a policy, and associate a traffic behavior with a class in policy view.
4. Apply the QoS policy in the interface or PVC view.
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.