scheduler

Configures the strict priority queues on an interface for QoS egress scheduling.

Syntax

scheduler strict-priority traffic-class-queues dwrr TC0-BW% TC1-BW% TC2-BW% TC3-BW% TC4-BW% TC5-BW% TC6-BW% TC7-BW% [ TC0 bytes ] [ TC1 bytes ] [ TC2 bytes ] [ TC3 bytes ] [ TC4 bytes ] [ TC5 bytes ] [ TC6 bytes ] [ TC7 bytes ]
no scheduler strict-priority

Parameters

traffic-class-queues
Specifies the traffic class strict priority queues. Enter one of the following integers:
  • 0—No strict priority queues
  • 1—Traffic class 7 strict priority queue
  • 2—Traffic class 6 through 7 strict priority queues
  • 3—Traffic class 5 through 7 strict priority queues
  • 4—Traffic class 4 through 7 strict priority queues
  • 5—Traffic class 3 through 7 strict priority queues
  • 6—Traffic class 2 through 7 strict priority queues
  • 7—Traffic class 1 through 7 strict priority queues
drww TC0-BW% TC1-BW% TC2-BW% TC3-BW% TC4-BW% TC5-BW% TC6-BW% TC7-BW%
Configures the Deficit Weighted Round Robin queues in percentage for each traffic class, if the priority is in weighted fair queue (WFQ) mode. Enter an integer from 0 through 100 (TC0-BW for traffic class 0 through TC7-BW for traffic class 7). The total of all values must equal 100%.
TC0 - TC7 bytes
Sets the maximum bandwidth the queue can transmit. This value is in bytes.

Modes

Policy-map configuration mode

Usage Guidelines

This command is allowed only for the egress direction.

Use the no form of this command to remove QoS egress scheduling from the interface.

Examples

The following example configures QoS egress scheduling on an interface.

device# configure terminal
device(config)# policy-map policy_1
device(config-policymap)# class default
device(config-policymap-class)# scheduler strict-priority 1 dwrr 25 25 25 10 5 5 5

The following example command configures the QoS egress scheduling on an interface with TC0-TC3 with equal weights and TC4-TC7 as strict, but with queue shapers of 2.0 Gbps, 1.5 Gbps, 1.0 Gbps, and 0.5 Gbps respectively.

device# configure terminal
device(config)# policy-map policy_2
device(config-policymap)#class default
device(config-policymap-class)# scheduler strict-priority 4 dwrr 25 25 25 25 
        TC4 2000000 TC5 1500000 TC6 1000000 TC7 500000
device(config-policymap-class)# int eth 0/29-30
device(conf-if-eth-0/29-30)# no service-policy out
device(conf-if-eth-0/29-30)# service-policy out h1