DSCP Value conversion to PHB Value mechanism and details required.
It was detailed calculation:
AFXY, CSX and EF are just PHB codes for the corresponding DSCP in binary or decimal representation.
AFXY where X is the class (3bits)
Y is the priority (2bits)
AF calculation example: PHB codeAF33=011 11 0(binary)=30(decimal)
EF calculation example: PHB code EF =101 11 0(binary)=46(decimal)
101 is the precedence
11 is the class of service
0 remain 0
and so one for other values, I attached another more detailed table that resume all calculations of the DSCP binary and the equivalent decimal value from the precedence and class of service
What zou are looking for is NOT mathematical. "AF" and "EF" is just a NAME defined in Standard. AF means Assured Forwarding, and EF means Expedited Forwarding. They could have named it "Very Important" and instead of EF we would use "VI"
So DSCP EF 46 is really DSCP 46. Standard defines how should numbers be used and what they are named. Please refer to the following documents:
Hope this helps.
Please rate all helpful posts