mls qos srr-queue input threshold
mls qos srr-queue input threshold
Use the mls qos srr-queue input threshold global configuration command to assign weighted tail-drop
(WTD) threshold percentages to an ingress queue. Use the no form of this command to return to the
default setting.
Syntax Description
queue-id
threshold-percentage1
threshold-percentage2
Defaults
When quality of service (QoS) is enabled, WTD is enabled.
The two WTD thresholds are set to 100 percent.
Command Modes
Global configuration
Command History
Release
12.1(19)EA1
Usage Guidelines
QoS uses the CoS-to-threshold map or the DSCP-to-threshold map to decide which class of service
(CoS) or Differentiated Services Code Points (DSCPs) values are mapped to threshold 1 and to threshold
2. If threshold 1 is exceeded, packets with CoS or DSCPs assigned to this threshold are dropped until
the threshold is no longer exceeded. However, packets assigned to threshold 2 continue to be queued and
sent as long as the second threshold is not exceeded.
Each queue has two configurable (explicit) drop threshold and one preset (implicit) drop threshold (full).
You configure the CoS-to-threshold map by using the mls qos srr-queue input cos-map global
configuration command. You configure the DSCP-to-threshold map by using the mls qos srr-queue
input dscp-map global configuration command.
Examples
This example shows how to configure the tail-drop thresholds for the two queues. The queue 1 thresholds
are 50 percent and 100 percent, and the queue 2 thresholds are 70 percent and 100 percent:
Switch(config)# mls qos srr-queue input threshold 1 50 100
Switch(config)# mls qos srr-queue input threshold 2 70 100
You can verify your settings by entering the show mls qos interface [interface-id] buffers or the show
mls qos input-queue privileged EXEC command.
Catalyst 3560 Switch Command Reference
2-266
mls qos srr-queue input threshold queue-id threshold-percentage1 threshold-percentage2
no mls qos srr-queue input threshold queue-id
ID of the ingress queue. The range is 1 to 2.
Two WTD threshold percentage values. Each threshold value is a
percentage of the total number of queue descriptors allocated for the
queue. Separate each value with a space. The range is 1 to 100.
Modification
This command was introduced.
Chapter 2
Catalyst 3560 Switch Cisco IOS Commands
78-16405-05