3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
1824 CHAPTER 114: WFQ CONFIGURATION COMMANDS
qos wfq
Syntax qos wfq [ precedence | dscp ] [ queue-length max-queue-length [ queue-number
total-queue-number ]]
undo qos wfq
View Interface view
Parameters precedence: Weight type of IP precedence.
dscp: Weight type of DSCP ( DiffServ code point).
max-queue-length: Maximum queue length, or maximum number of packets in
each queue. It ranges from 1 to 1024 and defaults to 64. Packets out of the range
will be discarded.
total-queue-number: Sum of queues. When IP precedence applies, available
numbers are 16, 32, 64, 128, 256, 512, 1024, 2048 and 4096. When dscp
applies, available numbers are 64, 128, 256, 512, 1024, 2048 and 4096. The
default is 256.
Description Use the
qos wfq command to apply WFQ to the interface or modify WFQ
parameters on the interface.
Use the
undo qos wfq command to restore the default congestion management
mechanism FIFO.
Except for interfaces encapsulated with X.25, all physical interfaces can use WFQ.
When WFQ is not used on interface, use the qos wfq command to enable the
interface to use WFQ policy and specify WFQ parameters. When WFQ is used on
interface, use the qos wfq command to modify WFQ parameters.
The weight type is precedence by default if no weight type is configured,
Related commands: display interface, display qos wfq interface.
Examples # Apply WFQ at the Ethernet 1/0 interface, set the queue length to 100 and set
the total queue number to 512.
<Sysname> system-view
[Sysname] interface Ethernet1/0
[Sysname-Ethernet1/0] qos wfq queue-length 100 queue-number 512