Command Reference Guide

87
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
Layer 2 Ethernet interface view, Layer 3 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 FortyGigE 1/1/1.
<Sysname> system-view
[Sysname] interface FortyGigE 1/1/1
[Sysname-FortyGigE1/1/1] qos wfq weight
# Enable byte-count WFQ on FortyGigE 1/1/1.
<Sysname> system-view
[Sysname] interface FortyGigE 1/1/1
[Sysname-FortyGigE1/1/1] qos wfq byte-count
Related commands
display qos queue wfq interface
qos wfq { byte-count | weight }
Use qos wfq { byte-count | weight } to assign a queue to a WFQ group with a certain scheduling weight.
Use undo qos wfq to restore the default.
Syntax
qos wfq queue-id group { 1 | 2 } { byte-count | weight } schedule-value