qos schedule-profile


qos schedule-profile <NAME>

no qos schedule-profile <NAME>


Creates a QoS schedule profile and switches to the config-schedule context for the profile. If the specified schedule profile exists, this command switches to the config-schedule context for the profile. The schedule profile determines the order in which queues are selected to transmit a packet, and the amount of service defined for each queue.

Queues in a schedule profile are numbered consecutively starting from zero. Queue zero is the lowest priority queue. The larger the queue number, the higher priority the queue has in scheduling algorithms.

A profile named factory-default is defined by default and applied to all interfaces. It cannot be edited or deleted. To see its settings, use the command:

A profile named strict is predefined and cannot be edited or deleted. The strict profile services all queues of the queue profile to which it is applied, using the strict priority algorithm.

A schedule profile must be defined on all interfaces at all times.

There are two permitted configurations for a schedule profile:

  1. All queues use the same scheduling algorithm (for example, DWRR).
  2. The highest queue number uses strict priority, and all remaining (lower) queues use the same algorithm (for example, DWRR). This supports priority scheduling behavior necessary for the IEFT RFC 3246 Expedited Forwarding specification (https://tools.ietf.org/html/rfc3246).
Only limited changes can be made to an applied schedule profile:
  • The weight of a dwrr queue.

  • The bandwidth of a strict queue.

  • The algorithm of the highest numbered queue can be swapped between dwrr and strict, and vice versa.

Any other changes will result in an unusable schedule profile, and the switch will revert to the factory-default profile until the profile is corrected.

The no form of this command removes the specified QoS schedule profile when it is not applied. Only profiles that are not currently applied to an interface can be removed.

Command context




Specifies the name of the QoS schedule profile to create or configure. Range: 1 to 64 alphanumeric characters, including period (.), underscore (_), and hyphen (-).


Administrators or local user group members with execution rights for this command.


Creating the schedule profile myschedule:

switch(config)# qos schedule-profile myschedule

Deleting the schedule profile myschedule:

switch(config)# no qos schedule-profile myschedule