Configuring Schedulers for Priority Scheduling
This topic describes how to configure priority scheduling.
[edit class-of-service schedulers scheduler-name] priority priority-level;
The priority level can be low
, medium-low
, medium-high
, high
, or strict-high
. The priorities map to numeric priorities in the underlying hardware.
In some cases, different priorities behave similarly, because two
software priorities behave differently only if they map to two distinct
hardware priorities. For more information, see Platform Support for Priority Scheduling.
Higher-priority queues transmit packets ahead of lower priority queues as long as the higher-priority forwarding classes retain enough bandwidth credit. When you configure a higher-priority queue with a significant fraction of the transmission bandwidth, the queue might lock out (or starve) lower priority traffic.
In the following example procedure, you create a scheduler, configure the mapping between the scheduler and the forwarding class, and assign the scheduler to an interface.