schedule
Function
The schedule command configures a scheduling mode between queues in a queue profile.
The undo schedule command restores the default scheduling mode between queues in a queue profile.
By default, an interface is not bound to any queue profile; all the queues use WRR.
The ACU2 does not support this command.
Format
schedule { pq start-queue-index [ to end-queue-index ] | drr start-queue-index [ to end-queue-index ] | wrr start-queue-index [ to end-queue-index ] }*
undo schedule
Parameters
Parameter |
Description |
Value |
---|---|---|
pq |
Indicates PQ scheduling. |
- |
drr |
Indicates Deficit Round Robin (DRR) scheduling. |
- |
wrr |
Indicates Weighted Round Robin (WRR) scheduling. |
- |
start-queue-index [ to end-queue-index ] |
Specifies the index of a queue.
|
start-queue-index and end-queue-index are integers that range from 0 to 7. A larger value indicates a higher priority of a queue. |
Usage Guidelines
Usage Scenario
When congestion occurs on a network intermittently, congestion management needs to be performed to provide high QoS for delay-sensitive services. Congestion management is implemented by using queue scheduling technologies.
When the network is congested, you can configure a scheduling mode for a queue so that the delay and jitter of various service packets can be adjusted in the following manners: (item list) The packets of delay-sensitive services, such as the video service and the voice service, can be processed preferentially. Among the delay-insensitive services, such as the email service, the packets with the same priority are processed equally and the packets with different priorities are processed based on their weights.
Follow-up Procedure
Run the qos queue-profile (interface view) command to bind the queue profile to an interface.
Precautions
When you modify the scheduling mode in the queue profile bound to an interface, the modification is synchronized to the interface automatically if the interface supports this configuration. If the interface does not support this configuration, the system displays a configuration failure message.
When the schedule command used in the queue profile view is not bound to any interface, all scheduling modes can be configured. If the schedule command is used in the queue profile bound to an interface, the system displays an error message when you configure a scheduling mode denied by the interface. Table 25-17 shows the scheduling modes supported by LAN-side interfaces and WAN-side interfaces.
When a queue uses PQ scheduling, other queues whose priorities are higher than the priority of this queue also use PQ scheduling.
When a queue uses non-PQ scheduling, other queues whose priorities are lower than the priority of this queue also use this scheduling mode.
A queue can use only one scheduling mode. If you set multiple scheduling modes for a queue, only the latest configuration takes effect.