Qos Wrr - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

Queue ID
Group
Weight

qos wrr

Syntax
qos wrr queue-id group { group-id weight queue-weight | sp }
undo qos wrr [ queue-id group { group-id weight | sp } ]
View
Interface view, port group view
Default Level
2: System level
Parameters
wrr queue-id: Queue ID, in the range of 0 to n-3.
group group-id: Specifies a group the queue belongs to, group 1 or group 2. SP queue scheduling
algorithm is adopted between each group.
weight schedule-value: Configures the scheduling weight for the queue. The schedule-value ranges
from 8 to 100.
Description
Use the qos wrr command to configure WRR or SP+WRR queuing.
Use the undo qos wrr command to disable WRR queuing.
The default queuing algorithm on an interface is SP queuing.
A port on an S5120-SI switch supports four output queues. As required, you can configure part of the
queues on a port to adopt the SP queue scheduling algorithm and part of the queues to adopt the WRR
queue scheduling algorithm. The SP+WRR queue scheduling algorithm is implemented by adding
queues on a port to SP scheduling queues and WRR queue scheduling queues respectively. For
example, queue 0 and queue 1 are in the SP queue scheduling group, and queue 2 is in the WRR
queue scheduling group 1, queue 3 is in WRR queue scheduling group 2. Round robin is performed in
WRR group 1 firstly. If no packet is to be sent in WRR group 1, round robin is performed in WRR group
2. At last, packets in the SP queue scheduling group are processed.
Examples
# Enable the SP+WRR queue scheduling algorithm on GigabitEthernet1/0/1. Add queue 0 to the SP
queue scheduling group; add queue 1 to WRR queue scheduling group 1, with the weight being 20; add
queue 2 and queue 3 to WRR queue scheduling group 2, with the weight being 10 and 50 respectively.
Field
ID of a queue
Number of the group a queue is assigned to. By
default, all queues belong to group SP.
Queue weight based on which queues are
scheduled. N/A indicates that the queue adopts
the SP queue scheduling algorithm.
4-2
Description

Advertisement

Table of Contents
loading

Table of Contents