Understanding QoS
The switch supports two configurable ingress queues, which are serviced by SRR in shared mode only.
Table 33-1
Catalyst 2960-S switches do not support ingress queueing.
Note
Table 33-1
Ingress Queue Types
1
Queue Type
Function
Normal
User traffic that is considered to be normal priority. You can configure three different thresholds to
differentiate among the flows. You can use the mls qos srr-queue input threshold, the mls qos srr-queue
input dscp-map, and the mls qos srr-queue input cos-map global configuration commands.
Expedite
High-priority user traffic such as differentiated services (DF) expedited forwarding or voice traffic. You can
configure the bandwidth required for this traffic as a percentage of the total stack traffic by using the mls qos
srr-queue input priority-queue global configuration command. The expedite queue has guaranteed bandwidth.
1. The switch uses two nonconfigurable queues for traffic that is essential for proper network and stack operation.
You assign each packet that flows through the switch to a queue and to a threshold. Specifically, you map
DSCP or CoS values to an ingress queue and map DSCP or CoS values to a threshold ID. You use the
mls qos srr-queue input dscp-map queue queue-id {dscp1...dscp8 | threshold threshold-id
dscp1...dscp8} or the mls qos srr-queue input cos-map queue queue-id {cos1...cos8 | threshold
threshold-id cos1...cos8} global configuration command. You can display the DSCP input queue
threshold map and the CoS input queue threshold map by using the show mls qos maps privileged EXEC
command.
WTD Thresholds
Catalyst 2960-S switches do not support ingress queueing.
Note
The queues use WTD to support distinct drop percentages for different traffic classes. Each queue has
three drop thresholds: two configurable (explicit) WTD thresholds and one nonconfigurable (implicit)
threshold preset to the queue-full state. You assign the two explicit WTD threshold percentages for
threshold ID 1 and ID 2 to the ingress queues by using the mls qos srr-queue input threshold queue-id
threshold-percentage1 threshold-percentage2 global configuration command. Each threshold value is a
percentage of the total number of allocated buffers for the queue. The drop threshold for threshold ID 3
is preset to the queue-full state, and you cannot modify it. For more information about how WTD works,
see the
Buffer and Bandwidth Allocation
Catalyst 2960-S switches do not support ingress queueing.
Note
You define the ratio (allocate the amount of space) with which to divide the ingress buffers between the
two queues by using the mls qos srr-queue input buffers percentage1 percentage2 global configuration
command. The buffer allocation together with the bandwidth allocation control how much data can be
buffered and sent before packets are dropped. You allocate bandwidth as a percentage by using the mls
qos srr-queue input bandwidth weight1 weight2 global configuration command. The ratio of the
weights is the ratio of the frequency in which the SRR scheduler sends packets from each queue.
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
33-16
describes the queues.
"Weighted Tail Drop" section on page
33-13.
Chapter 33
Configuring QoS
OL-26520-01