Assured Forwarding will ensure that certain amount of bandwidth is reserved to an assured forwarding class, and will allow access to extra bandwidth if it available on the link.
Packets that will utilise assured forwarding will have a field format of XXXYY0. XXX represents the binary value of the assured forwarding class, which is between 5 and 7. YY represents the drop probability.
AF Class | AF IP Precedence | AF IP Precence |
AF1 | 001 | 1 |
AF2 | 010 | 2 |
AF3 | 011 | 3 |
AF4 | 100 | 4 |
Drop Probability Dec | Drop Probability Bin |
1 (Low) | 01 |
2 (Medium) | 10 |
3 (High) | 11 |
Assured Forwarding has four standard classes from AF1 to AF4. It is important to note that the class number does not determine priority. Each class is treated independently and placed into different queues.
Each AF class has its own IP Precedence with three drop probabilities, low, medium, and high.
The class and drop probability is combined into an AF Name, classed as AF12 – this would be IP Precedence 1 with Drop Probability 2.
It can be converted into a Differentiated Services Code Point value with the formula 8x + 2y. x being the IP Precedence and y being the Drop Probability.
AF Class Name | IP Precedence Decimal | IP Precedence Binary | Drop Probability | Drop Probability Binary | Drop Probability Decimal | AF Name | DSCP Value Binary | DSCP Value Decimal |
AF1 | 1 | 001 | Low | 01 | 1 | AF11 | 001010 | 10 |
AF1 | 1 | 001 | Medium | 10 | 2 | AF12 | 001100 | 12 |
AF1 | 1 | 001 | High | 11 | 3 | AF13 | 001110 | 14 |
AF2 | 2 | 010 | Low | 01 | 1 | AF21 | 010010 | 18 |
AF2 | 2 | 010 | Medium | 10 | 2 | AF22 | 010100 | 20 |
AF2 | 2 | 010 | High | 11 | 3 | AF23 | 010110 | 22 |
AF3 | 3 | 011 | Low | 01 | 1 | AF31 | 011010 | 26 |
AF3 | 3 | 011 | Medium | 10 | 2 | AF32 | 011100 | 28 |
AF3 | 3 | 011 | High | 11 | 3 | AF33 | 011110 | 30 |
AF4 | 4 | 100 | Low | 01 | 1 | AF41 | 100010 | 34 |
AF4 | 4 | 100 | Medium | 10 | 2 | AF42 | 100100 | 36 |
AF4 | 4 | 100 | High | 11 | 3 | AF43 | 100110 | 38 |
Assured Forwarding must detect and respond to long-term congestion within each class, dropping packets using a congestion-avoidance algorithm such as weighted random early detection.
Weighted random early detection uses the AF Drop Probability value in a class to determine which packets should be dropped first when congestion is experienced. It should be able to handle short term congestion resulting from bursts if each class is placed into separate queues using a dedicated queuing algorithm such as class-based weighted fair queuing (CBWFG).
Assured Forwarding does not specify the use of a particular algorithm but it does specify the requirements of these algorithms.
Leave a Reply