Cisco WS-C3550-12G Software Configuration Manual page 501

Multilayer switch
Hide thumbs Also See for WS-C3550-12G:
Table of Contents

Advertisement

Chapter 20
Configuring QoS
Command
Step 4
wrr-queue random-detect
max-threshold queue-id
threshold-percentage1
threshold-percentage2
Step 5
exit
Step 6
interface interface-id
Step 7
wrr-queue dscp-map threshold-id dscp1
... dscp8
Step 8
show running-config
Step 9
show mls qos interface buffers
Step 10
copy running-config startup-config
To disable WRED, use the no wrr random-detect max-threshold [queue-id] interface configuration
command. To return to the default DSCP-to-threshold map, use the no wrr-queue dscp-map
[threshold-id] interface configuration command.
This example shows how to configure the WRED queue threshold values for queue 1 to 50 percent
and 100 percent, for queue 2 to 70 percent and 100 percent, for queue 3 to 50 percent and 100 percent,
and for queue 4 to 70 percent and 100 percent on the egress interface (Gigabit Ethernet 0/1). The ingress
interface (Gigabit Ethernet 0/2) is configured to trust the DSCP in the incoming packets, to map DSCPs
0, 8, 16, 24, 32, 40, 48, and 56 to threshold 1, and to map DSCPs 10, 20, 30, 40, 50, and 60 to threshold 2.
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# wrr-queue random-detect max-threshold 1 50 100
Switch(config-if)# wrr-queue random-detect max-threshold 2 70 100
Switch(config-if)# wrr-queue random-detect max-threshold 3 50 100
Switch(config-if)# wrr-queue random-detect max-threshold 4 70 100
Switch(config-if)# exit
Switch(config)# interface gigabitethernet0/2
Switch(config-if)# mls qos trust dscp
Switch(config-if)# wrr-queue dscp-map 1 0 8 16 24 32 40 48 56
Switch(config-if)# wrr-queue dscp-map 2 10 20 30 40 50 60
As a result of this configuration, when the queues 1 and 3 are filled above 50 percent, packets with
DSCPs 0, 8, 16, 24, 32, 40, 48, and 56 are randomly dropped. The same packets are randomly dropped
when queues 2 and 4 are filled above 70 percent. When the second threshold (100 percent) is exceeded,
all queues randomly drop packets with DSCPs 10, 20, 30, 40, 50, and 60.
78-11194-03
Purpose
Configure WRED drop threshold percentages on each egress queue.
The default, WRED is disabled, and no thresholds are configured.
For queue-id, specify the ID of the egress queue. The range is 1
to 4, where queue 4 can be configured as the expedite queue. For
more information, see the
Queue" section on page
For threshold-percentage1 threshold-percentage2, specify the
threshold percentage values. Separate each value with a space. The
range is 1 to 100.
Return to global configuration mode.
Enter interface configuration mode, and specify the ingress
Gigabit-capable Ethernet interface.
Map DSCP values to the WRED drop thresholds of the egress queues.
By default, all DSCP values are mapped to threshold 1.
For threshold-id, specify the threshold ID of the queue. The range
is 1 to 2.
For dscp1 ... dscp8, specify the DSCP values that are mapped to the
threshold ID. Enter up to eight DSCP values per command.
Separate each value with a space. The range is 0 to 63.
Verify the DSCP-to-threshold map.
Verify the thresholds.
(Optional) Save your entries in the configuration file.
Catalyst 3550 Multilayer Switch Software Configuration Guide
"Configuring the Egress Expedite
20-50.
Configuring QoS
20-49

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3550

Table of Contents