SUMMARY STEPS
1.
configure terminal
2.
Use one of the following:
•
mls qos srr-queue input dscp-map queue queue-id threshold threshold-id dscp1...dscp8
•
mls qos srr-queue input cos-map queue queue-id threshold threshold-id cos1...cos8
3.
mls qos srr-queue input threshold queue-id threshold-percentage1 threshold-percentage2
4.
end
5.
show mls qos maps
6.
copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 1
Maps DSCP or CoS values to an ingress queue and to a threshold ID.
Use one of the following:
Step 2
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 threshold 1.
•
mls qos srr-queue input dscp-map
queue queue-id threshold
threshold-id dscp1...dscp8
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.
•
mls qos srr-queue input cos-map
queue queue-id threshold
threshold-id cos1...cos8
•
For
queue-id
, the range is 1 to 2.
•
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.
Example:
Switch(config)#
mls qos srr-queue
•
For
dscp1...dscp8
, enter up to eight values, and separate each value with
a space. The range is 0 to 63.
input
•
For
cos1...cos8
, enter up to eight values, and separate each value with a
space. The range is 0 to 7.
dscp-map queue 1 threshold 2 20 21
22 23 24 25 26
Assigns the two WTD threshold percentages for (threshold 1 and 2) to an
ingress queue. The default, both thresholds are set to 100 percent.
mls qos srr-queue input threshold
queue-id threshold-percentage1
threshold-percentage2
Step 3
•
For
queue-id
, the range is 1 to 2.
Example:
Switch(config)#
mls qos srr-queue
•
For
threshold-percentage1 threshold-percentage2
, the range is 1 to 100.
Separate each value with a space.
input threshold 1 50 70
Each threshold value is a percentage of the total number of queue descriptors
allocated for the queue.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
613
How to Configure QoS
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......