Command Reference Guide

83
# Enable byte-count WRR queuing on FortyGigE 1/1/1.
<Sysname> system-view
[Sysname] interface FortyGigE 1/1/1
[Sysname-FortyGigE1/1/1] qos wrr byte-count
Related commands
display qos queue wrr interface
qos wrr { byte-count | weight }
Use qos wrr { byte-count | weight } to configure the WRR queuing parameters for a queue on an
interface.
Use undo qos wrr to restore the default WRR queuing parameters of a queue on an interface.
Syntax
qos wrr queue-id group { 1 | 2 } { byte-count | weight } schedule-value
undo qos wrr queue-id
Default
An interface uses the byte-count WRR queuing algorithm, and queues 0 through 7 are in WRR group 1,
with their weights of 1, 2, 3, 4, 5, 9, 13, and 15, respectively.
Views
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view
Predefined user roles
network-admin
Parameters
queue-id: Specifies a queue by its ID. The value is an integer in the range of 0 to 7 or a keyword listed
in Table 33.
gr
oup { 1 | 2 }: Specifies WRR group 1 or 2. If you do not specify a group, group 1 applies.
byte-count: Allocates bandwidth to queues in terms of bytes.
weight: Allocates bandwidth to queues in terms of packets.
schedule-value: Specifies a scheduling weight for the specified queue in WRR queuing, in the range of
1 to 15.
Usage guidelines
You must use the qos wrr command to enable WRR queuing before you can configure WRR queuing
parameters for a queue on an interface.
The queue-id argument can be either a number or a keyword. Table 33 sh
ows the number-keyword map.
Table 33 The number-keyword map for the
queue-id
argument
Number Ke
y
word
0 be
1 af1
2 af2