29-11
Catalyst 2960 Switch SoftwareConfiguration Guide
78-16881-01
Chapter29 Configuring QoS
Understanding QoS
Before the traffic reaches the scheduling stage, QoS stores the packet in an ingress and an egress
queue according to the QoS label. The QoS label is based on the DSCP or the CoS value in the packet
and selects the queue through the DSCP input and output queue th reshold maps or through the CoS
input and output queue threshold maps. You configure these maps by using the mls qos srr-queue
{input | output} dscp-map and the mls qos srr-queue {input | output} cos-map global
configuration commands.
The CoS-to-DSCP, DSCP-to-CoS, and the IP-precedence-to-DSCP maps have default values that might
or might not be appropriate for your network.
The default DSCP-to-DSCP-mutation map and the default policed-DSCP map are nul l maps; they map
an incoming DSCP value to the same DSCP value. The DSCP-to-DSCP-mutation map is the only map
you apply to a specific port. All other maps apply to the entire switch.
For configuration information, see the “Configuring DSCP Maps” section on page 29-51.
For information about the DSCP and CoS input queue threshold maps, see the “Queueing and
Scheduling on Ingress Queues” section on page29-13. For information about the DS CP and CoS output
queue threshold maps, see the “Queueing and Scheduling on Egress Queues” section on pag e 29-15.
Queueing and Scheduling Overview
The switch has queues at specific points to help prevent congestion as shown in Figure 29-5.
Figure29-5 Ingress and Egress Queue Location
Because the total inbound bandwidth of all ports can exceed the bandwidth of the intern al ring, ingress
queues are located after the packet is classified, policed, and marked and before packets are forwarded
into the switch fabric. Because multiple ingress ports can simultaneously send packets to an egress port
and cause congestion, outbound queues are located after the internal ring.
MarkerPolicer
MarkerPolicer
Marker
Ingress
queues
Internal
ring
Egress
queues
Policer
MarkerPolicer
Classify
Traffic SRRSRR
90563