Howto:Calculate Values for Type of Service (ToS) from DiffServ or DSCP Values
Applies To
This information applies to all innovaphone devices
More Information
Problem Details
The innovaphone devices allow you to specify the IP v4 TOS header field value used for voice and signalling IP packets. The configured value directly maps to the the header field of the IP packets. The IP ToS header field in the innovaphone device configuration must be provided as hexadecimal value for the 8-bit ToS field of the IP packet. This article describes how to deduce correct hexadecimal values from DiffServ / DSCP values.
DSCP Name | DS Field Binary | DS Field Decimal | IP Precedence | ToS Hexadecimal | ToS Decimal | Description |
---|---|---|---|---|---|---|
CS0 | 000 000 | 0 | 0 | 0x00 | 0 | |
CS1 | 001 000 | 8 | 1 | 0x20 | 32 | |
AF11 | 001 010 | 10 | 1 | 0x28 | 40 | |
AF12 | 001 100 | 12 | 1 | 0x30 | 48 | |
AF13 | 001 110 | 14 | 1 | 0x38 | 56 | |
CS2 | 010 000 | 16 | 2 | 0x40 | 64 | |
AF21 | 010 010 | 18 | 2 | 0x48 | 72 | |
AF22 | 010 100 | 20 | 2 | 0x50 | 80 | |
AF23 | 010 110 | 22 | 2 | 0x58 | 88 | |
CS3 | 011 000 | 24 | 3 | 0x60 | 96 | |
AF31 | 011 010 | 26 | 3 | 0x68 | 104 | innovaphone default value for signalling RFC 2597 |
AF32 | 011 100 | 28 | 3 | 0x70 | 112 | |
AF33 | 011 110 | 30 | 3 | 0x78 | 120 | |
CS4 | 100 000 | 32 | 4 | 0x80 | 128 | |
AF41 | 100 010 | 34 | 4 | 0x88 | 136 | innovaphone default value for video RTP RFC 4594 |
AF42 | 100 100 | 36 | 4 | 0x90 | 144 | |
AF43 | 100 110 | 38 | 4 | 0x98 | 152 | |
CS5 | 101 000 | 40 | 5 | 0xa0 | 160 | |
EF | 101 110 | 46 | 5 | 0xb8 | 184 | innovaphone default value for audio RTP RFC 3246 |
CS6 | 110 000 | 48 | 6 | 0xc0 | 192 | |
CS7 | 111 000 | 56 | 7 | 0xe0 | 224 |
Related Articles
Howto:Firmware Upgrade V6 V7 and later#Default ToS Values
Howto:The IPv4 TOS field and DiffServ