34-14
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 34 Configuring QoS
Understanding QoS
Figure 34-7 WTD and Queue Operation
For more information, see the “Mapping DSCP or CoS Values to an Ingress Queue and Setting WTD
Thresholds” section on page 34-67, the “Allocating Buffer Space to and Setting WTD Thresholds for an
Egress Queue-Set” section on page 34-71, and the “Mapping DSCP or CoS Values to an Egress Queue
and to a Threshold ID” section on page 34-73.
SRR Shaping and Sharing
Both the ingress and egress queues are serviced by SRR, which controls the rate at which packets are
sent. On the ingress queues, SRR sends packets to the internal ring. On the egress queues, SRR sends
packets to the egress port.
You can configure SRR on egress queues for sharing or for shaping. However, for ingress queues,
sharing is the default mode, and it is the only mode supported.
In shaped mode, the egress queues are guaranteed a percentage of the bandwidth, and they are
rate-limited to that amount. Shaped traffic does not use more than the allocated bandwidth even if the
link is idle. Shaping provides a more even flow of traffic over time and reduces the peaks and valleys of
bursty traffic. With shaping, the absolute value of each weight is used to compute the bandwidth
available for the queues.
In shared mode, the queues share the bandwidth among them according to the configured weights. The
bandwidth is guaranteed at this level but not limited to it. For example, if a queue is empty and no longer
requires a share of the link, the remaining queues can expand into the unused bandwidth and share it
among them. With sharing, the ratio of the weights controls the frequency of dequeuing; the absolute
values are meaningless. Shaping and sharing is configured per interface. Each interface can be uniquely
configured.
For more information, see the “Allocating Bandwidth Between the Ingress Queues” section on
page 34-68, the “Configuring SRR Shaped Weights on Egress Queues” section on page 34-74, and the
“Configuring SRR Shared Weights on Egress Queues” section on page 34-75.
CoS 6-7 100%
60%
40%
1000
600
400
0
CoS 4-5
CoS 0-3
86692