3

I'm having trouble wrapping my head around DSCP AF Classes and what--all else being equal--gets dropped first.

I understand packets are given a Class, 1-4. The higher the Class number, the higher priority that packet gets. I must assume that higher priority means lower chance of being dropped.

Is this assumption correct: Higher Class = Higher Priority = Lower chance of being dropped?

I also understand that packets are given a drop precedence, 1-3... and in this case the lower the drop precedence, the lower the chance of being dropped.

During congestion, does higher Class traffic have precedence over lower Class traffic, regardless of Drop Priority?

If so, this leads to the absolutely counter-intuitive scenario where, while AF32 is less likely to be dropped than AF13 (32 > 13), AF32 is more likely to be dropped than AF31 (despite 32 > 31)... and that's really throwing me for a loop!

1
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could post and accept your own answer.
    – Ron Maupin
    Dec 21, 2020 at 0:54

1 Answer 1

2

I understand packets are given a Class, 1-4. The higher the Class number, the higher priority that packet gets. I must assume that higher priority means lower chance of being dropped.

Is this assumption correct: Higher Class = Higher Priority = Lower chance of being dropped?

During congestion, does higher Class traffic have precedence over lower Class traffic, regardless of Drop Priority?

Both of these are incorrect. Each class has a minimum amount of resources (e.g., bandwidth) allocated to it. Different classes will have different amounts. So for example, Class 4 may have 30% of the link bandwidth allocated to it, while class 3 has only 10%. That means during congestion, class 4 is guaranteed a minimum of 30% of the link bandwidth.

Note that class 4 doesn't have higher priority than 3, it just means it has a different amount of resources available to it.

Within each class, the drop priority indicates the probability that the traffic would be dropped.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.