
29-59
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-09
Chapter 29 Configuring QoS
Configuring Standard QoS
To return to the default weights, use the no wrr-queue queue-limit interface configuration command.
This example shows how to configure the size ratio of the four queues. The ratio of the size allocated for
each queue is 1/10, 2/10, 3/10, and 4/10 for queues 1, 2, 3, and 4. (Queue 4 is four times larger than
queue 1, twice as large as queue 2, and 1.33 times as large as queue 3.)
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# wrr-queue queue-limit 1 2 3 4
Configuring Tail-Drop Threshold Percentages
Tail drop is the default congestion-avoidance technique on Gigabit-capable Ethernet ports. With tail
drop, packets are queued until the thresholds are exceeded. For example, all packets with DSCPs
assigned to the first threshold are dropped until the threshold is no longer exceeded. However, packets
assigned to a second threshold continue to be queued and sent as long as the second threshold is not
exceeded.
You modify the DSCP-to-threshold map to determine which DSCPs are mapped to which threshold ID
by using the wrr-queue dscp-map interface configuration command. By default, all DSCPs are mapped
to threshold 1, and when this threshold is exceeded, all the packets are dropped.
If you use tail-drop thresholds, you cannot use WRED, and vice versa.
Beginning in privileged EXEC mode, follow these steps to configure the tail-drop threshold percentage
values on Gigabit-capable Ethernet ports:
Step 4
wrr-queue queue-limit weight1 weight2
weight3 weight4
Configure the egress queue size ratios.
The defaults weights are 25 (1/4 of the buffer size is allocated to each
queue).
For weight1, weight2, weight3, and weight4, specify a weight from 1
to 100. Separate each value with a space.
The relative size difference in the numbers show the relative
differences in the queue sizes.
When you enter this command, the queue is temporarily shutdown
during the hardware reconfiguration, and the switch drops newly
arrived packets to this queue.
Step 5
end
Return to privileged EXEC mode.
Step 6
show mls qos interface buffers
Verify your entries.
Step 7
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
mls qos
Enable QoS on the switch.
Step 3
interface interface-id
Enter interface configuration mode, and specify the egress
Gigabit-capable Ethernet interface.