Usage guidelines
You must use the qos wfq command to enable WFQ before you can configure this command on an
interface.
The queue-id argument can be either a number or a keyword.
Examples
# Set the minimum guaranteed bandwidth to 100 kbps for queue 0 on Ten-GigabitEthernet 1/1/5.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/1/5
[Sysname-Ten-GigabitEthernet1/1/5] qos wfq weight
[Sysname-Ten-GigabitEthernet1/1/5] qos bandwidth queue 0 min 100
Related commands
qos wfq
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
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 Ten-GigabitEthernet 1/1/5.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/1/5
[Sysname-Ten-GigabitEthernet1/1/5] qos wfq weight
# Enable byte-count WFQ on Ten-GigabitEthernet 1/1/5.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/1/5
Table 32
82
shows the number-keyword map.