Sunday, December 27, 2020

How to assign a CoS value to a threshold in Nexus?

Hi, so i have been wrapping my mind trying to find the answer to this for hours now and cannot find the answer anywhere. In Cisco IOS you can assign a CoS value to a threshold and the threshold then drops traffic if exceeded based off the queue-limit (or queue-set given to it), so for example:

wrr-queue queue-limit 10 40 50.....setting the buffers for each queue

wrr-queue random-detect min-threshold 2 80 100 100wrr-queue random-detect max-threshold 2 100 100 100.....setting min/max thresholds to each threshold available in queue 2

wrr-queue cos-map 2 3 5.......setting CoS value 5 to threshold 3 in queue 2

You cannot seem to do this in Nexus, the closet i've seen is:

policy-map type queuing bandwidth_wred

class type queuing 1p3q4t-out-q2

bandwidth percent 50

random-detect cos-based

random-detect cos 5 minimum-threshold percent 10 maximum-threshold percent 30

random-detect cos 6 minimum-threshold percent 40 maximum-threshold percent 60

......were you set the buffer size for the queue and the bandwidth, okay thats fine but as for setting what threshold cos 5 and 6 belong to, i cannot see anywhere that this can be done? Because there is just looks as if both values are assigned to threshold 1 when there are 4 thresholds available.

I'm either missing something or it really can't be done.

Does anyone have any experience or knowledge on this?

Cheers



No comments:

Post a Comment