qos wfq
Use qos wfq to enable WFQ and specify the WFQ weight type on an interface.
Use undo qos wfq to disable WFQ and restore the default queuing algorithm on an interface.
Syntax
qos wfq { byte-count | weight }
undo qos wfq { byte-count | weight }
Default
An interface uses the byte-count WRR queuing algorithm, and all the queues are in the WRR group.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Parameters
byte-count: Allocates bandwidth to queues in terms of bytes.
weight: Allocates bandwidth to queues in terms of packets.
Usage guidelines
You must use the qos wfq command to enable WFQ before you can configure WFQ queuing parameters for a queue on an interface.
Examples
# Enable weight-based WFQ on GigabitEthernet 1/0/1.
<Sysname> system-view [Sysname] interface GigabitEthernet 1/0/1 [Sysname-GigabitEthernet1/0/1] qos wfq weight
# Enable byte-count WFQ on GigabitEthernet 1/0/1.
<Sysname> system-view [Sysname] interface GigabitEthernet 1/0/1 [Sysname-GigabitEthernet1/0/1] qos wfq byte-count
Related commands
display qos queue wfq interface