38-54
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 38 Configuring Standard QoS
How to Configure Standard QoS
Configuring SRR Shaped Weights on Egress Queues
You can specify how much of the available bandwidth is allocated to each queue. The ratio of the weights
is the ratio of frequency in which the SRR scheduler sends packets from each queue.
You can configure the egress queues for shaped or shared weights, or both. Use shaping to smooth bursty
traffic or to provide a smoother output over time. For information about shaped weights, see the “SRR
Shaping and Sharing” section on page 38-20. For information about shared weights, see the
“Configuring SRR Shared Weights on Egress Queues” section on page 38-55.
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 mls qos srr-queue output dscp-map
queue queue-id threshold threshold-id
dscp1...dscp8
or
mls qos srr-queue output cos-map
queue queue-id threshold threshold-id
cos1...cos8
Maps DSCP or CoS values to an egress queue and to a threshold ID.
By default, DSCP values 0–15 are mapped to queue 2 and thr eshold 1.
DSCP values 16–31 are mapped to queue 3 and threshold 1. DSCP values
32–39 and 48–63 are mapped to queue 4 and threshold 1. DSCP values
40–47 are mapped to queue 1 and threshold 1.
By default, CoS values 0 and 1 are mapped to queue 2 and threshold 1.
CoS values 2 and 3 are mapped to queue 3 and threshold 1. CoS values 4,
6, and 7 are mapped to queue 4 and threshold 1. CoS value 5 is mapped to
queue 1 and threshold 1.
queue-id—Specifies the range 1 to 4.
threshold-id—Specifies the range 1 to 3. The drop-threshold
percentage for threshold 3 is predefined. It is set to the queue-full
state.
dscp1...dscp8—Enters up to eight values, and separates each value
with a space. The range is 0 to 63.
cos1...cos8—Enters up to eight values, and separates each value with
a space. The range is 0 to 7.
Step 3 end Returns to privileged EXEC mode.
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 interface interface-id Specifies the port of the outbound traffic, and enters interface
configuration mode.