qos schedule-profile
Syntax
qos schedule-profile no qos schedule-profile
Description
Creates a QoS schedule profile and switches to theconfig-schedule
context for the profile. If the specified schedule profile exists, this command switches to theconfig-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出厂默认值is defined by default and applied to all interfaces. It cannot be edited or deleted. To see its settings, use the command:
switch#show qos schedule-profile factory-defaultqueue_num algorithm weight --------- --------- ------ 0 dwrr 1 1 dwrr 1 2 dwrr 1 3 dwrr 1 4 dwrr 1 5 dwrr 1 6 dwrr 1 7 dwrr 1
A profile namedstrictis 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:
- All queues use the same scheduling algorithm (for example, DWRR).
- 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).
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.
Applicable to REST: Any other changes will result in an unusable schedule profile, and the switch will revert to the出厂默认值
profile until the profile is corrected.
no
形式的这个命令删除pecified QoS schedule profile when it is not applied. Only profiles that are not currently applied to an interface can be removed.Command context
config
Parameters
-
-
Specifies the name of the QoS schedule profile to create or configure. Range: 1 to 64 alphanumeric characters, including period (.), underscore (_), and hyphen (-).
Authority
Administrators or local user group members with execution rights for this command.
Examples
Creating the schedule profilemyschedule:
switch(config)#qos schedule-profile myscheduleswitch(config-schedule)#
Deleting the schedule profilemyschedule:
switch(config)#no qos schedule-profile myschedule