qos wrr
Use qos wrr to enable WRR queuing and specify the weight type for an interface.
Use undo qos wrr to disable WRR queuing and restore the default queue scheduling algorithm for an interface.
Syntax
qos wrr { byte-count | weight }
undo qos wrr { byte-count | weight }
Default
An interface uses the byte-count WRR queuing algorithm, and queues 0 through 7 have weights of 1, 2, 3, 4, 5, 9, 13, and 15, respectively.
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 wrr command to enable WRR queuing before you can configure WRR queuing parameters for a queue on an interface.
Examples
# Enable weight-based WRR queuing on GigabitEthernet 1/0/1.
<Sysname> system-view [Sysname] interface GigabitEthernet 1/0/1 [Sysname-GigabitEthernet1/0/1] qos wrr weight
# Enable byte-count WRR queuing on GigabitEthernet 1/0/1.
<Sysname> system-view [Sysname] interface GigabitEthernet 1/0/1 [Sysname-GigabitEthernet1/0/1] qos wrr byte-count
Related commands
display qos queue wrr interface