Howto:Calculate Values for Type of Service (ToS) from DiffServ or DSCP Values: Difference between revisions
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
{|border="2" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;" | {|border="2" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;" | ||
|+ DSCP, DiffServ and hexadecimal ToS values | |+ DSCP, DiffServ and hexadecimal ToS values | ||
! [http://www.iana.org/assignments/dscp-registry/dscp-registry.xml DSCP Name] !! DS Field Binary !! DS Field Decimal !! IP Precedence !! ToS Hexadecimal !! Description | ! [http://www.iana.org/assignments/dscp-registry/dscp-registry.xml DSCP Name] !! DS Field Binary !! DS Field Decimal !! IP Precedence !! ToS Hexadecimal !! ToS Decimal!! Description | ||
|- | |- | ||
| CS0 || 000 000 || 0 || 0 || 0x00 || | | CS0 || 000 000 || 0 || 0 || 0x00 || 0 || | ||
|- | |- | ||
| CS1 || 001 000 || 8 || 1 || 0x20 || | | CS1 || 001 000 || 8 || 1 || 0x20 || 32 || | ||
|- | |- | ||
| AF11 || 001 010 || 10 || 1 || 0x28 || | | AF11 || 001 010 || 10 || 1 || 0x28 || 40 || | ||
|- | |- | ||
| AF12 || 001 100 || 12 || 1 || 0x30 || | | AF12 || 001 100 || 12 || 1 || 0x30 || 48 || | ||
|- | |- | ||
| AF13 || 001 110 || 14 || 1 || 0x38 || | | AF13 || 001 110 || 14 || 1 || 0x38 || 56 || | ||
|- | |- | ||
| CS2 || 010 000 || 16 || 2 || 0x40 || | | CS2 || 010 000 || 16 || 2 || 0x40 || 64 || | ||
|- | |- | ||
| AF21 || 010 010 || 18 || 2 || 0x48 || | | AF21 || 010 010 || 18 || 2 || 0x48 || 72 || | ||
|- | |- | ||
| AF22 || 010 100 || 20 || 2 || 0x50 || | | AF22 || 010 100 || 20 || 2 || 0x50 || 80 || | ||
|- | |- | ||
| AF23 || 010 110 || 22 || 2 || 0x58 || | | AF23 || 010 110 || 22 || 2 || 0x58 || 88 || | ||
|- | |- | ||
| CS3 || 011 000 || 24 || 3 || 0x60 || | | CS3 || 011 000 || 24 || 3 || 0x60 || 96 || | ||
|- | |- | ||
| AF31 || 011 010 || 26 || 3 || 0x68 || innovaphone default value for signalling RFC 2597 | | AF31 || 011 010 || 26 || 3 || 0x68 || 104 ||innovaphone default value for signalling RFC 2597 | ||
|- | |- | ||
| AF32 || 011 100 || 28 || 3 || 0x70 || | | AF32 || 011 100 || 28 || 3 || 0x70 || 112 || | ||
|- | |- | ||
| AF33 || 011 110 || 30 || 3 || 0x78 || | | AF33 || 011 110 || 30 || 3 || 0x78 || 120 || | ||
|- | |- | ||
| CS4 || 100 000 || 32 || 4 || 0x80 || | | CS4 || 100 000 || 32 || 4 || 0x80 || 128 || | ||
|- | |- | ||
| AF41 || 100 010 || 34 || 4 || 0x88 || innovaphone default value for video RTP RFC 4594 | | AF41 || 100 010 || 34 || 4 || 0x88 || 136 ||innovaphone default value for video RTP RFC 4594 | ||
|- | |- | ||
| AF42 || 100 100 || 36 || 4 || 0x90 || | | AF42 || 100 100 || 36 || 4 || 0x90 || 144 || | ||
|- | |- | ||
| AF43 || 100 110 || 38 || 4 || 0x98 || | | AF43 || 100 110 || 38 || 4 || 0x98 || 152 || | ||
|- | |- | ||
| CS5 || 101 000 || 40 || 5 || 0xa0 || | | CS5 || 101 000 || 40 || 5 || 0xa0 || 160 || | ||
|- | |- | ||
| EF || 101 110 || 46 || 5 || 0xb8 || innovaphone default value for audio RTP RFC 3246 | | EF || 101 110 || 46 || 5 || 0xb8 || 184 ||innovaphone default value for audio RTP RFC 3246 | ||
|- | |- | ||
| CS6 || 110 000 || 48 || 6 || 0xc0 || | | CS6 || 110 000 || 48 || 6 || 0xc0 || 192 || | ||
|- | |- | ||
| CS7 || 111 000 || 56 || 7 || 0xe0 || | | CS7 || 111 000 || 56 || 7 || 0xe0 || 224 || | ||
|} | |} | ||
Latest revision as of 16:32, 21 October 2013
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