Configuring sp+wrr queues, Configuration procedure, Configuration example – H3C Technologies H3C S7500E Series Switches User Manual
Page 69: Network requirements
6-8
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] qos wfq
[Sysname-GigabitEthernet2/0/1] qos wfq 1 weight 1
[Sysname-GigabitEthernet2/0/1] qos wfq 3 weight 5
[Sysname-GigabitEthernet2/0/1] qos wfq 4 weight 10
[Sysname-GigabitEthernet2/0/1] qos wfq 5 weight 15
[Sysname-GigabitEthernet2/0/1] qos wfq 6 weight 10
# Set the minimum guaranteed bandwidth of queue 1 to 128 kbps.
[Sysname-GigabitEthernet2/0/1] qos bandwidth queue 1 min 128
Configuring SP+WRR Queues
Configuration Procedure
Follow these steps to configure SP + WRR queues:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface
view
interface interface-type
interface-number
Enter
interface
view or port
group view
Enter port
group view
port-group manual
port-group-name
Use either command
Settings in interface view take effect on
the current interface; settings in port group
view take effect on all ports in the port
group.
Enable the WRR queue
scheduling on the port
qos wrr
Required
The default queuing algorithm on an
interface is SP queuing.
Configure SP queue
scheduling
qos wrr queue-id group sp
Required
Configure WRR queue
scheduling
qos wrr queue-id group
group-id byte-count
schedule-value
Required
Configuration Example
Network requirements
z
Configure to adopt SP+WRR queue scheduling algorithm on GigabitEthernet2/0/1.
z
Configure queue 0, queue 1, queue 2 and queue 3 on GigabitEthernet2/0/1 to be in SP queue
scheduling group.
z
Configure queue 4, queue 5, queue 6 and queue 7 on GigabitEthernet2/0/1 to be in WRR queue
scheduling group, with the weight being 2, 4, 6 and 8 respectively.
Configuration procedure
# Enter system view.
# Enable the SP+WRR queue scheduling algorithm on GigabitEthernet2/0/1.