undo qos wrr
View
Interface view
Default level
2: System level
Parameters
byte-count: Enables byte-count WRR, which allocates bandwidth to queues in terms of bytes. If you
specify neither byte-count nor weight for this command, this command enables byte-count WRR.
weight: Enables packet-based WRR, which allocates bandwidth to queues in terms of packets.
Description
Use qos wrr to enable WRR queuing.
Use undo qos wrr to restore the default queue scheduling algorithm. scheduling weight.
The default queuing algorithm on a port is SP queuing.
Examples
# Enable WRR queuing on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos wrr
qos wrr byte-count
Syntax
qos wrr queue-id group 1 byte-count schedule-value
undo qos wrr queue-id group 1 byte-count
View
Interface view
Default level
2: System level
Parameters
queue-id: Specifies a queue by its ID, which ranges from 0 to 7.
1: Specifies a group the queue belongs to group 1.
byte-count schedule-value: Specifies a scheduling weight for the specified queue in byte-count WRR
queuing. The schedule-value argument ranges from 1 to 15.
Description
Use qos wrr byte-count to specify a scheduling weight for the specified queue in byte-count WRR
queuing.
Use undo qos wrr byte-count to restore the default weight for the specified queue in byte-count WRR
queuing.
By default, the weights of queues 0 through 7 are 1, 2, 3, 4, 5, 6, 7, and 8 in byte-count WRR queuing.
77