DSCP to AF Conversion and AF to DSCP Conversion

If you are looking for the simple formula to convert DSCP to AF and AF to DCSP this is it.

First the easy one AF to DSCP – 8*X + 2*Y – X&Y are the single AF Values

Examples:
AF32 convert to DSCP
8*3 + 2*2 = 24 + 4 = 28
So AF32=DSCP 28

To convert from DSCP to AF it is simply the opposite
DSCP to AF = x/8 + (remainder/2)
DSCP28 to AF = 28/8 = 3 remainder 4  4/2 = 2 – then just use these two numbers
So DSCP28 = AF32

As always these are just my study notes so I can find the information quickly, if reading this helps you then please comment.

 

About Roger Perkin

Roger Perkin is a 40 year old Cisco Engineer working for Cobham in the UK. He currently holds CCNP and CCSP. When not troubleshooting networks and studying for his CCIE he spends his time kite surfing, running, being a geek, travelling to Africa to support a school his wife has setup and spending time with his daughter.

Speak Your Mind

*