882 CHAPTER 68: CONGESTION MANAGEMENT
Configuration Examples Network requirements
■ Configure to adopt SP+WRR queue scheduling algorithm on
GigabitEthernet1/0/1.
■ Configure queue 0, queue 1, queue 2 and queue 3 on GigabitEthernet1/0/1 to
be in SP queue scheduling group.
■ Configure queue 4, queue 5, queue 6 and queue 7 on GigabitEthernet1/0/1 to
be in WRR queue scheduling group, with the weight being 2, 4, 6 and 8
respectively.
Configuration procedure
# Enter system view.
<Sysname> system-view
# Enable the SP+WRR queue scheduling algorithm on GigabitEthernet1/0/1.
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos wrr 0 group sp
[Sysname-GigabitEthernet1/0/1] qos wrr 1 group sp
[Sysname-GigabitEthernet1/0/1] qos wrr 2 group sp
[Sysname-GigabitEthernet1/0/1] qos wrr 3 group sp
[Sysname-GigabitEthernet1/0/1] qos wrr 4 group 1 weight 2
[Sysname-GigabitEthernet1/0/1] qos wrr 5 group 1 weight 4
[Sysname-GigabitEthernet1/0/1] qos wrr 6 group 1 weight 6
[Sysname-GigabitEthernet1/0/1] qos wrr 7 group 1 weight 8
Displaying and
Maintaining
Congestion
Management
Configure WRR queue
scheduling
qos wrr queue-id group
group-id weight
queue-weight
Required
To do… Use the command… Remarks
To do… Use the command… Remarks
Display WRR queue
configuration information
display qos wrr interface
[ interface-type
interface-number ]
Available in any view
Display SP queue
configuration information
display qos sp interface
[ interface-type
interface-number ]