83
Field
Description
Group
Number of the group a queue is assigned to. By default, all queues
belong to group 1.
Weight
Queue weight based on which queues are scheduled. N/A indicates that
the queue uses the SP queue scheduling algorithm.
qos wrr
Syntax
qos wrr
[
byte-count
|
weight
]
undo qos wrr
[
byte-count
|
weight
]
View
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view, port group view
Default level
2: System level
Parameters
byte-count
: Enables byte-count WRR, which allocates bandwidth to queues in terms of bytes.
weight
: Enables packet-based WRR, which allocates bandwidth to queues in terms of packets.
Description
Use the
qos wrr
command to enable byte-count or packet-based WRR queuing on the specified
interfaces.
Use the
undo qos wrr byte-count
command to restore the default weights for queues on the specified
interfaces enabled with byte-count WRR queuing.
Use the
undo qos wrr weight
command to change the queuing algorithm from packet-based WRR to
byte-count WRR and restore the default weights for queues on the specified interfaces.
Use the
undo qos wrr
command to use byte-count WRR and restore the default weights for queues on the
specified interfaces.
By default, byte-count WRR is enabled on a port, and the weights of queues 0 through 7 are 1, 2, 3, 4,
5, 9, 13, and 15.
Settings in Layer 2 Ethernet interface view or Layer 3 Ethernet interface view take effect on the current
interface. Settings in port group view take effect on all ports in the port group.
Examples
# Enable packet-based WRR queuing on port GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos wrr weight
qos wrr byte-count
Syntax
qos wrr
queue-id
group 1
byte-count
schedule-value