Chapter 2
Catalyst 3560 Switch Cisco IOS Commands
Usage Guidelines
The DSCP assigned at the ingress port selects an ingress or egress queue and threshold.
The drop-threshold percentage for threshold 3 is predefined. It is set to the queue-full state. You can
assign two weighted tail-drop (WTD) threshold percentages to an ingress queue by using the mls qos
srr-queue input threshold global configuration command.
You can map each DSCP value to a different queue and threshold combination, allowing the frame to
follow different behavior.
You can map up to eight DSCP values per command.
Examples
This example shows how to map DSCP values 0 to 6 to ingress queue 1 and to threshold 1 with a drop
threshold of 50 percent. It maps DSCP values 20 to 26 to ingress queue 1 and to threshold 2 with a drop
threshold of 70 percent:
Switch(config)# mls qos srr-queue input dscp-map queue 1 threshold 1 0 1 2 3 4 5 6
Switch(config)# mls qos srr-queue input dscp-map queue 1 threshold 2 20 21 22 23 24 25 26
Switch(config)# mls qos srr-queue input threshold 1 50 70
You can verify your settings by entering the show mls qos maps privileged EXEC command.
Related Commands
Command
mls qos srr-queue input bandwidth
mls qos srr-queue input buffers
mls qos srr-queue input cos-map
mls qos srr-queue input priority-queue
mls qos srr-queue input threshold
show mls qos maps
78-16405-05
Description
Assigns shaped round robin (SRR) weights to an ingress
queue.
Allocates the buffers between the ingress queues.
Maps class of service (CoS) values to an ingress queue
or maps CoS values to a queue and to threshold ID.
Configures the ingress priority queue and guarantees
bandwidth.
Assigns WTD threshold percentages to an ingress queue.
Displays QoS mapping information.
Catalyst 3560 Switch Command Reference
mls qos srr-queue input dscp-map
2-263