DSCP values table
The DSCP is the six-bit codepoint in the IP header that selects a per-hop behaviour. Here is every standard value in binary and decimal, with the IP precedence its first three bits give.
| Name | DSCP (binary) | DSCP (decimal) | IP precedence | Per-hop behaviour | Defined in |
|---|---|---|---|---|---|
| Default (CS0) | 000000 | 0 | 0 | Default, best effort | RFC 2474 |
| CS1 | 001000 | 8 | 1 | Class Selector | RFC 2474 |
| CS2 | 010000 | 16 | 2 | Class Selector | RFC 2474 |
| CS3 | 011000 | 24 | 3 | Class Selector | RFC 2474 |
| CS4 | 100000 | 32 | 4 | Class Selector | RFC 2474 |
| CS5 | 101000 | 40 | 5 | Class Selector | RFC 2474 |
| CS6 | 110000 | 48 | 6 | Class Selector | RFC 2474 |
| CS7 | 111000 | 56 | 7 | Class Selector | RFC 2474 |
| AF11 | 001010 | 10 | 1 | Assured Forwarding, class 1, low drop precedence | RFC 2597 |
| AF12 | 001100 | 12 | 1 | Assured Forwarding, class 1, medium drop precedence | RFC 2597 |
| AF13 | 001110 | 14 | 1 | Assured Forwarding, class 1, high drop precedence | RFC 2597 |
| AF21 | 010010 | 18 | 2 | Assured Forwarding, class 2, low drop precedence | RFC 2597 |
| AF22 | 010100 | 20 | 2 | Assured Forwarding, class 2, medium drop precedence | RFC 2597 |
| AF23 | 010110 | 22 | 2 | Assured Forwarding, class 2, high drop precedence | RFC 2597 |
| AF31 | 011010 | 26 | 3 | Assured Forwarding, class 3, low drop precedence | RFC 2597 |
| AF32 | 011100 | 28 | 3 | Assured Forwarding, class 3, medium drop precedence | RFC 2597 |
| AF33 | 011110 | 30 | 3 | Assured Forwarding, class 3, high drop precedence | RFC 2597 |
| AF41 | 100010 | 34 | 4 | Assured Forwarding, class 4, low drop precedence | RFC 2597 |
| AF42 | 100100 | 36 | 4 | Assured Forwarding, class 4, medium drop precedence | RFC 2597 |
| AF43 | 100110 | 38 | 4 | Assured Forwarding, class 4, high drop precedence | RFC 2597 |
| EF | 101110 | 46 | 5 | Expedited Forwarding | RFC 3246 |
Reading the table
- IP precedence is the codepoint's first three bits, so CS1 to CS7 match precedence 1 to 7.
- In AF, the first digit is the class and the second the drop precedence. Within a class, a packet with a lower drop precedence is forwarded with at least the probability of one with a higher drop precedence, so AF43 goes before AF41 under congestion.
- EF, 46, is the building block for low delay, low jitter and low loss services (RFC 3246).
