Operation Manual – QoS
H3C S5500-EI Series Ethernet Switches
Chapter 4 Congestion Management
4-6
4.5 Configuring SP+WRR Queues
As required, you can configure part of the queues on the port to adopt the SP
queue-scheduling algorithm and parts of queues to adopt the WRR queue-scheduling
algorithm. Through adding the queues on a port to the SP scheduling group and WRR
scheduling group (namely, group 1), the SP+WRR queue scheduling is implemented.
During the queue scheduling process, the queues in the SP scheduling group is
scheduled preferentially. When no packet is to be sent in the queues in the SP
scheduling group, the queues in the WRR scheduling group are scheduled. The
queues in the SP scheduling group are scheduled according to the strict priority of each
queue, while the queues in the WRR queue scheduling group are scheduled according
the weight value of each queue.
4.5.1 Configuration Procedure
Follow these steps to configure SP + WRR queues:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter port
view
interface interface-type
interface-number
Enter
port
view or
port
group
view
Enter port
group view
port-group
{
manual
port-group-name |
aggregation
agg-id
}
Perform either of the two
operations.
The configuration
performed in Ethernet
port view applies to the
current port only. The
configuration performed
in port group view applies
to all the ports in the port
group.
Configure SP queue
scheduling
qos wrr queue-id group
sp
Required
By default, all the ports
adopt the WRR queue
scheduling algorithm, with
the weight values
assigned to queue 0
through queue 7 being 1,
2, 3, 4, 5, 9, 13, and 15.
Configure WRR queue
scheduling
qos wrr queue-id group
group-id weight
queue-weight
Required