qos scheduler-profile

Configures a user-defined Quality of Service (QoS) scheduler profile.
Syntax
qos scheduler-profile user-profile-name { mechanism scheduling-mechanism | profile [ qosp0 wt0 | qosp1 wt1 | qosp2 wt2 | qosp3 wt3 | qosp4 wt4 | qosp5 wt5 | qosp6 wt6 | qosp7 wt7 ] }
no qos scheduler-profile user-profile-name
Command Default

A user-defined QoS scheduler profile is not configured.

Parameters
user-profile-name
Specifies the name of the scheduler profile to be configured.
mechanismscheduling-mechanism
Configures the queue assignment with the specified scheduling mechanism. The following scheduling mechanisms are supported:
mixed-sp-wrr
Specifies mixed strict-priority (SP) and weighted scheduling.
strict
Specifies SP scheduling.
weighted
Specifies weighted scheduling.
profile qosp0-7
Configures the profile based on classification in the range 0 through 7.
wt0-7
Specifies the bandwidth percentage for the corresponding QoS profile. The range is from 0 through 7.
Modes

Global configuration mode

Usage Guidelines

The no form of this command removes the scheduler profile configuration.

You can use the scheduler-profile command to attach a user scheduler profile to a port. If you want to remove a scheduler-profile you must ensure that it is not attached to any port.

The default QoS-profile weights for each queue using a weighted QoS mechanism are as follows:

Profile Priority Weighted bandwidth
Profile qosp7 Priority7(Highest) Bandwidth requested 44% calculated 44%
Profile qosp6 Priority6 Bandwidth requested 8% calculated 8%
Profile qosp5 Priority5 Bandwidth requested 8% calculated 8%
Profile qosp4 Priority4 Bandwidth requested 8% calculated 8%
Profile qosp3 Priority3 Bandwidth requested 8% calculated 8%
Profile qos2 Priority2 Bandwidth requested 8% calculated 8%
Profile qosp1 Priority1 Bandwidth requested 8% calculated 8%
Profile qosp0 Priority0 (Lowest) Bandwidth requested 8% calculated 8%
Per-queue details Bandwidth percentage

Class 0

3

Class 1

3

Class 2

3

Class 3

3

Class 4

3

Class 5

3

Class 6

7

Class 7

75

The default QoS-profile weights for each queue using a mixed QoS mechanism are as follows:

Per-queue details Bandwidth percentage

Class 0

15

Class 1

15

Class 2

15

Class 3

15

Class 4

15

Class 5

25

Class 6

sp

Class 7

sp

The total weight (wt0-wt7) in both weighted and mixed mechanism must be 100 percent.

The minimum value for any weight is 1.

A maximum of eight scheduler profiles are supported.

Examples

The following example configures a QoS scheduler profile named user1, with weighted scheduling, and specify the bandwidth percentage for each QoS class:.

device# configure terminal
device(config)# qos scheduler-profile user1 mechanism weighted
device(config)# qos scheduler-profile user1 profile qosp0 1 qosp1 1 qosp2 10 qosp3 10 qosp4 10 qosp5 10 qosp6 20 qosp7 38

The following example configures a QoS scheduler profile named user2, with SP scheduling.

device# configure terminal
device(config)# qos scheduler-profile user2 mechanism strict

The following example configures a QoS scheduler profile named user3, with mixed SP and weighted scheduling.

device# configure terminal
device(config)# qos scheduler-profile user3 mechanism mixed-sp-wrr

The following example removes a QoS scheduler profile named user3.

device# configure terminal
device(config)# no qos scheduler-profile user3
History
Release version Command history
08.0.10 This command was introduced.