1824
C
114: WFQ C
HAPTER
qos wfq
Syntax
View
Parameters
Description
Related commands:
Examples
C
ONFIGURATION
OMMANDS
qos wfq [ precedence | dscp ] [ queue-length max-queue-length [ queue-number
total-queue-number ] ]
undo qos wfq
Interface view
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.
Use the
qos wfq
parameters on the interface.
Use the
undo qos wfq
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,
display interface, display qos wfq interface.
# 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
command to apply WFQ to the interface or modify WFQ
command to restore the default congestion management