R0106-HP MSR Router Series ACL and QoS Configuration Guide(V7)
50
Ste
p
Command
Remarks
3. Configure WFQ.
qos wfq [ dscp | precedence ] [ queue-length
max-queue-length | queue-number
total-queue-number ] *
By default, WFQ is not
configured.
Displaying and maintaining WFQ
Execute display commands in any view.
Task Command
Display the WFQ configuration and statistics
for an interface or PVC.
display qos queue wfq interface [ interface-type
interface-number [ pvc { pvc-name | vpi/vci } ] ]
Configuring CBQ
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 the classes. You can use these
predefined classes when defining a policy:
• default-class—Matches the default traffic.
• ef, af1, af2, af3, af4—Matches IP DSCP value ef, af1, af2, af3, af4, respectively.
• ip-prec0, ip-prec1, …ip-prec7—Matches IP precedence value 0, 1, …7, respectively.
• 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 the behaviors.
• ef—Assigns a class of packets to the EF queue and assigns 20% of the available interface or PVC
bandwidth to the class of packets.
• af—Assigns a class of packets to the AF queue and assigns 20% of the available interface or 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.