84
undo qos wrr
queue-id
group 1
byte-count
View
Interface view, port group view
Default level
2: System level
Parameters
queue-id
: Queue 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 the
qos wrr byte-count
command to specify a scheduling weight for the specified queue in
byte-count WRR queuing.
Use the
undo
qos wrr byte-count
command 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, 9, 13, and 15 in byte-count WRR queuing.
Before using this command to configure weights for queues, make sure that byte-count WRR queuing is
enabled on the interface. Otherwise, the weight configuration does not take effect.
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.
Related commands:
display qos wrr interface
.
Examples
# Enable WRR queuing on GigabitEthernet 1/0/1, assign scheduling weight 10 to queue 0.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos wrr
[Sysname-GigabitEthernet1/0/1] qos wrr 0 group 1 byte-count 10
qos wrr group sp
Syntax
qos wrr
queue-id
group sp
undo qos wrr
queue-id
group sp
View
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view, port group view
Default level
2: System level
Parameters
queue-id
: Queue ID, which ranges from 0 to 7.
sp
: Strict priority (SP) queuing algorithm.