12-14-2010 08:22 AM - edited 03-06-2019 02:31 PM
Hi,
Taking the lines below :
mls qos srr-queue output cos-map queue 2 threshold 1 4
mls qos srr-queue output cos-map queue 2 threshold 3 6 7
it's a template that i find at lot of examples of config.
what is the criteria that define if the cos value will be affected to threshold 1 or threshold 3
Thanks at advance
Regards
12-14-2010 09:31 AM
The below document explains all:
Use the mls qos srr-queue output cos-map global configuration command on the switch stack or on a standalone switch to map class of service (CoS) values to an egress queue or to map CoS values to a queue and to a threshold ID. Use the no form of this command to return to the default setting.
mls qos srr-queue output cos-map queue queue-id {cos1...cos8 | threshold threshold-id cos1...cos8}
no mls qos srr-queue output cos-map
This example shows how to map a port to queue-set 1. It maps CoS values 0 to 3 to egress queue 1 and to threshold ID 1. It configures the drop thresholds for queue 1 to 50 and 70 percent of the allocated memory, guarantees (reserves) 100 percent of the allocated memory, and configures 200 percent as the maximum memory that this queue can have before packets are dropped.
Switch(config)# mls qos srr-queue output cos-map queue 1 threshold 1 0 1 2 3
Switch(config)# mls qos queue-set output 1 threshold 1 50 70 100 200
Switch(config)# interface gigabitethernet2/0/1
Switch(config-if)# queue-set 1
12-14-2010 10:30 AM
Hi,
thank you for raply but it doesn't match my request.
we suppose we have the following question :
Put COS 5 in the priority queue
queue 2 4,6,7
queue 3 2,3
queue 4 0
you find the following in the answer :
mls qos srr-queue output cos-map 2 threshold 3 4
mls qos srr-queue output cos-map 2 threshold 2 6 7
....
taking only the example of queue 2, why we put 4 in threshold 3 and not all 4,6 anf 7 into the same threshold ???
I hope that you can understand well my question
Regards
Driss
12-14-2010 10:47 AM
This is your choice.
Probably in this example, frames with cos 6 and 7 are "more important" of frames with cos 4 and so are assigned threshold that guarantees major availability of buffers an memory.
Use the mls qos queue-set output threshold global configuration command on the switch stack or on a standalone switch to configure the weighted tail-drop (WTD) thresholds, to guarantee the availability of buffers, and to configure the maximum memory allocation to a queue-set (four egress queues per port). Use the no form of this command to return to the default setting.
mls qos queue-set output qset-id threshold queue-id drop-threshold1 drop-threshold2 reserved-threshold maximum-threshold
no mls qos queue-set output qset-id threshold [queue-id]
When quality of service (QoS) is enabled, WTD is enabled.
Table 2-9 shows the default WTD threshold settings.
12-14-2010 02:23 PM
Hi,
Sometimes we said that when queue 2 reaches 60 % we start dropping cos 4 packets and you see :
mls qos queue-set output 2 threshold 2 40 60 100 100
why the values for first threshold, reserved and maximum threshold are changed.
I can see why ?
Please explain more.
Regards
Driss
12-15-2010 11:38 AM
I don't clearly understand your question.
Threshold values are presetted globaly on 3750.
If you want show them use:
sh mls qos input-queue
Queue : 1 2
----------------------------------------------
buffers : 90 10
bandwidth : 4 4
priority : 0 20
threshold1: 100 100
threshold2: 100 100
sh mls qos queue-set
Queueset: 1
Queue : 1 2 3 4
----------------------------------------------
buffers : 25 25 25 25
threshold1: 100 200 100 100
threshold2: 100 200 100 100
reserved : 50 50 50 50
maximum : 400 400 400 400
Queueset: 2
Queue : 1 2 3 4
----------------------------------------------
buffers : 25 25 25 25
threshold1: 100 200 100 100
threshold2: 100 200 100 100
reserved : 50 50 50 50
maximum : 400 400 400 400
To see the queuing strategy of a specific interface use
sh queueing interface f1/0/1
Interface FastEthernet1/0/1 queueing strategy: fair
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/1/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 75000 kilobits/sec
This is my QoS configuration:
mls qos srr-queue input priority-queue 2 bandwidth 20
mls qos srr-queue input cos-map queue 1 threshold 3 0 1 2 3 4
mls qos srr-queue input cos-map queue 2 threshold 3 5 6 7
mls qos srr-queue output cos-map queue 1 threshold 3 5 6 7
mls qos srr-queue output cos-map queue 2 threshold 3 4
mls qos srr-queue output cos-map queue 3 threshold 3 2 3
mls qos srr-queue output cos-map queue 4 threshold 3 0 1
mls qos
Regards.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: