Configuring a queue scheduling profile for an interface

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.

3. Configure queue scheduling parameters.

  • Configure a queue to use SP:queue queue-id sp

  • Configure a queue to use WRR:queue queue-id wrr group 1 { weight | byte-count } schedule-value

  • Configure a queue to use WFQ:queue queue-id wfq group 1 { weight | byte-count } schedule-value

By default, all queues in a queue scheduling profile uses SP queuing.

One queue can use only one queue scheduling algorithm.

In a queue scheduling profile, you can configure different queue scheduling algorithms for different queues. However, you cannot configure both WRR and WFQ in a queue scheduling profile.

4. (Optional.) Set the minimum guaranteed bandwidth for a queue.

bandwidth queue queue-id min bandwidth-value

The default setting is 64 kbps.

You can configure this command only for a WFQ queue.

5. Return to system view.

quit

N/A

6. Enter interface view.

interface interface-type interface-number

N/A

7. Apply the queue scheduling profile to the interface.

qos apply qmprofile profile-name

By default, no queue scheduling profile is applied to an interface.