Hello everybody!
There are several switches 2960, between which it is necessary to limit the traffic cos 0 and give at least half of the bandwidth to cos 5. After reading here https://www.cisco.com/c/en/us/support/docs/switches/catalyst-3750-series-switches/116089-technote-switches-output-drops-qos-00.html and here https://reaper81.wordpress.com/2012/03/07/catalyst-qos/ I ended up with this configuration:
int f0/1
switchport mode access
mls qos cos 5
mls qos cos override
!
int f0/2
switchport mode trunk
mls qos trust cos
queue-set 2
priority-queue out
!I give 50% of the first egress queues
srr-queue bandwidth shape 2 0 0 0
srr-queue bandwidth share 1 30 35 5
!
!traffic from COS 0 should go to the 4th queue and be dropped at the 1st drop threshold.
mls qos srr-queue output cos-map queue 4 threshold 1 0
!traffic from COS 5 should go to the 1st priority queue and be dropped when the last 3rd drop threshold is reached.
mls qos srr-queue output cos-map queue 1 threshold 3 5
mls qos queue-set output 2 buffers 50 20 20 10
Threshold for queue-set 2, I think for now, leave it by default, or advise you to set up some values right away?
Tell me, please, am I doing everything right or what needs to be changed?