87
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 delete the WRR queuing parameters of a queue on an interface.
Syntax
qos wrr queue-id group 1 { byte-count | weight } schedule-value
undo qos wrr queue-id
Default
All queues on a WRR-enabled interface are in WRR group 1, and queues 0 through 7 have a weight
of 1, 2, 3, 4, 5, 9, 13, and 15, respectively.
Views
Layer 2/Layer 3 Ethernet interface view
Predefined user roles
network-admin
Parameters
queue-id: Specifies a queue by its ID. The value range for this argument is 0 to 7 or keywords
in Table 30.
group 1: Specifies the WRR gro
up. Only WRR group 1 is supported in the current software version.
byte-count: Allocates bandwidth to queues in terms of bytes.
weight: Allocates bandwidth to queues based on their weights.
schedule-value: Specifies a scheduling weight for the specified queue in WRR queuing. The default
and the value range for this argument is 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.
Examples
# Enable byte-count WRR queuing on Ten-GigabitEthernet 1/0/1, and specify scheduling weight 10
for queue 0.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] qos wrr byte-count
[Sysname-Ten-GigabitEthernet1/0/1] qos wrr 0 group 1 byte-count 10
Related commands
display qos queue wrr interface
qos wrr
qos wrr group sp
Use qos wrr group sp to assign a queue to the SP group.