
Command Manual (For Soliton) – QoS-QoS Profile
H3C S3100 Series Ethernet Switches
Chapter 1 QoS Commands
1-28
wrr
: Adopts the weighted round robin (WRR) algorithm for queue scheduling.
queue0-weight queue1-weight queue2-weight queue3-weight
: Weights to be assigned
to queue 0 through queue 3. The value ranges from 1 to 15.
Description
Use the
queue-scheduler
command to configure a queue scheduling algorithm and
the related parameters for specific queues.
Use the
undo queue-scheduler
command to restore the default.
By default, the WRR queue scheduling algorithm is adopted, and the weight assigned
to queue 0, queue 1, queue 2, and queue 3 is 1, 2, 3, and 4.
The port of an S3100 series switch can accommodate four output queues. You can
configure the queue scheduling algorithm as needed:
z
With the WRR algorithm, Each queue is assigned with a weight value (w0, w1, w2
and w3 corresponding to the four queues), which indicates the proportions of
source allocated to each queue. For example, weight values for queues 0 to 3 are
set as 1, 2, 4 and 8 (corresponding to w0, w1, w2 and w3) respectively. In this case,
when data traffic of the four output queues on the port exceeds the port processing
capability, the switch will perform weight round robin on the queues, based on the
allocated proportion of 1:2:4:8. That is to say, among every 15 packets sent by the
switch, 1 packet is put into queue 0, 2 into queue 1, 4 into queue 2 and 8 into
queue 3.
z
With the HQ-WRR algorithm, queue 3 is allocated with the highest priority. When
data traffic of the four output queues on the port exceeds the port processing
capability, packets in queue 3 will be sent first, and then WRR algorithm is used on
the rest three queues.
Related command:
display queue-scheduler
.
Example
# Adopt the WRR queue scheduling algorithm, with the weight for queue 0, queue 1,
queue 2, and queue 3 as 12, 8, 4, and 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] queue-scheduler wrr 12 8 4 1
# Display the configuration result.
[Sysname] display queue-scheduler
Queue scheduling mode: weighted round robin
weight of queue 0: 12
weight of queue 1: 8
weight of queue 2: 4
weight of queue 3: 1