50
Task Command
interface-number ]
Display queue-based outbound traffic
statistics.
display qos queue-statistics interface
[ interface-type
interface-number ]
outbound
Configuring queue scheduling profiles
In a queue scheduling profile, you can configure scheduling parameters for each queue. By applying
the queue scheduling profile to an interface, you can implement congestion management on the
interface.
Queue scheduling profiles support three queue scheduling methods: SP, WRR, and WFQ. In a
queue scheduling profile, you can configure SP+WRR or SP+WFQ. When SP+WRR or SP+WFQ is
configured, the scheduling priority is as follows:
• The SP group has higher priority than WRR groups and WFQ groups.
• Queues in the SP group are scheduled in descending order of queue IDs.
• Queues in a WRR or WFQ group are scheduled based on their weights.
When SP and WRR groups are configured in a queue scheduling profile, Figure 16 sho
ws the
scheduling order.
Figure 16 Queue scheduling profile configured with both SP and WRR
• Queue 7 has the highest priority. Its packets are sent preferentially.
• Queue 5 has the second highest priority. Packets in queue 5 are sent when queue 7 is empty.
• When both queue 7 and queue 5 are empty, WRR group 1 is scheduled. Queues 0, 1, 2, 3, 4,
and 6 in WRR group 1 are scheduled according to their weights.
Configuring a queue scheduling profile
You can modify the scheduling parameters in a queue scheduling profile already applied to an
interface. The modification takes effect immediately.
To configure a queue scheduling profile:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Create a queue scheduling
profile and enter queue
scheduling profile view.
qos qmprofile
profile-name
By default, no queue
scheduling profile exists.
Q7 Q6 Q2 Q1 Q0
Q5 Q4 Q3
SP group WRR group 1