38-50
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 38 Configuring Standard QoS
How to Configure Standard QoS
Allocating Buffer Space Between the Ingress Queues
You define the ratio (allocate the amount of space) with which to divide the ingress buffers between the
two queues. The buffer and the bandwidth allocation control how much data can be buffered before
packets are dropped.
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 mls qos srr-queue input dscp-map
queue queue-id threshold threshold-id
dscp1...dscp8
or
mls qos srr-queue input cos-map
queue queue-id threshold threshold-id
cos1...cos8
Maps DSCP or CoS values to an ingress queue and to a threshold ID.
By default, DSCP values 0–39 and 48–63 are mapped to queue 1 and
threshold 1. DSCP values 40–47 are mapped to queue 2 and thres hold 1.
By default, CoS values 0–4, 6, and 7 are mapped to queue 1 and threshold
1. CoS value 5 is mapped to queue 2 and threshold 1.
queue-id—The range is 1 to 2.
threshold-id—The range is 1 to 3. The drop-threshold percentage for
threshold 3 is predefined. It is set to the queue-full state.
dscp1...dscp8—Enter up to eight values, and separate each value with
a space. The range is 0 to 63.
cos1...cos8—Enter up to eight values, and separate each value with a
space. The range is 0 to 7.
Step 3 mls qos srr-queue input threshold
queue-id threshold-percentage1
threshold-percentage2
Assigns the two WTD threshold percentages for (threshold 1 and 2) to an
ingress queue. The default, both thresholds are set to 100 percent.
queue-id—The range is 1 to 2.
threshold-percentage1 threshold-percentage2—The range is 1 to 100.
Separate each value with a space.
Each threshold value is a percentage of the total number o f queue
descriptors allocated for the queue.
Step 4 end Returns to privileged EXEC mode.
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 mls qos srr-queue input buffers
percentage1 percentage2
Allocates the buffers between the ingress queues
By default 90 percent of the buffers are allocated to queue 1, and 10
percent of the buffers are allocated to queue 2.
percentage1 percentage2—The range is 0 to 100. Separate each value with
a space.
You should allocate the buffers so that the queues can handle any
incoming bursty traffic.
Step 3 end Returns to privileged EXEC mode.