Operation Manual – QoS
H3C S3610&S5510 Series Ethernet Switches
Chapter 4 Congestion Management
4-5
Caution:
With WRR queue scheduling algorithm adopted, the queues assigned to the same
queue scheduling group must be with consecutive queue numbers.
4.4.2 Configuration Examples
I. Network requirements
z
Configure queues on the port as WRR queues.
z
Configure queue 0, queue 1, queue 2, and queue 3 to be in WRR group 1, with the
weight being 10, 20, 50, and 70 respectively.
z
Configure queue 4, queue 5, queue 6, and queue 7 to be in WRR group 2, with the
weight being 20, 50, 70, and 100 respectively.
II. Configuration procedure
# Enter system view.
<Sysname> system-view
# Configure the WRR queues on Ethernet1/0/1 port.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] qos wrr 0 group 1 weight 1
[Sysname-Ethernet1/0/1] qos wrr 1 group 1 weight 2
[Sysname-Ethernet1/0/1] qos wrr 2 group 1 weight 4
[Sysname-Ethernet1/0/1] qos wrr 3 group 1 weight 6
[Sysname-Ethernet1/0/1] qos wrr 4 group 1 weight 8
[Sysname-Ethernet1/0/1] qos wrr 5 group 1 weight 10
[Sysname-Ethernet1/0/1] qos wrr 6 group 1 weight 12
[Sysname-Ethernet1/0/1] qos wrr 7 group 1 weight 14
4.5 Configuring SP+WRR Queues
As required, you can adopt SP queue scheduling algorithm for a part of the queues on
a port, and meanwhile adopt WRR queue scheduling algorithm for another part of the
queues on this port. In this way, the SP+WRR queue scheduling is enabled through
adding queues on a port to SP queue scheduling groups and WRR queue scheduling
groups respectively. SP queue scheduling algorithm is adopted between each group.
For example, queue 0 and queue 1 are in the SP queue scheduling group, and queue 2,
queue 3, and queue 4 are in the WRR queue scheduling group 1, queue 5, queue 6,
and queue 7 are in WRR queue scheduling group 2. Round robin is performed in WRR