How to Configure QoS
The egress queue default settings are suitable for most situations. You should change them only when you
Note
have a thorough understanding of egress queues and if these settings do not meet your QoS solution.
Beginning in privileged EXEC mode, follow these steps to map DSCP or CoS values to an egress queue and
to a threshold ID. This procedure is optional.
SUMMARY STEPS
1. configure terminal
2. Use one of the following:
3. end
4. show mls qos maps
5. copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
Switch# configure terminal
Step 2
Use one of the following:
• mls qos srr-queue output
dscp-map queue queue-id
threshold threshold-id
dscp1...dscp8
• mls qos srr-queue output
cos-map queue queue-id
threshold threshold-id
cos1...cos8
Example:
Switch(config)# mls qos srr-queue
output
dscp-map queue 1 threshold 2 10
11
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
622
• mls qos srr-queue output dscp-map queue queue-id threshold threshold-id dscp1...dscp8
• mls qos srr-queue output cos-map queue queue-id threshold threshold-id cos1...cos8
Purpose
Enters global configuration mode.
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 threshold 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.
• For queue-id, the range is 1 to 4.
Note
• For 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.
• For dscp1...dscp8, enter up to eight values, and separate each value with a
space. The range is 0 to 63.
If you enabled 8 egress queues using the mls qos srr-queue output
queues 8 global configuration command, then the queue-id range
would be from 1 to 8.