5-134 Compact T1 - Release 6.1
CLI Commands
set
set (router) priority tos
Use the set (router) priority tos command to configure parameters that will be used to
recognize routed voice packets which will be handled with higher priority over other routed
data.
For each IP datagram to be routed, the TOS byte from the IP header will be logically AND’d
with the configured TOS mask and compared to the TOS match value. If they match, the
datagram will be handled with a greater priority than other routed data but with lower priority
than its own VoIP data. This command takes effect immediately.
Syntax: set {cmg_card-addr} priority tos {disable|mask-value
match-value}
Example: set 5 priority tos oxfc oxb8.
{cmg_card-addr}
The slot number (1-6) that contains the CMG Router card.
{disable|mask-value match-value}
The following table contains the appropriate TOS mask and match for various IP precedence
and DiffServ code points:
disable Disable (default), will result in no priority handling of routed voice
packets
mask-value Mask to be applied to the TOS byte in the IP header. In the format of
0x (2 hex digits)
match-value TOS byte match value. In the format of 0x (2 hex digits).
IP Precedence Mask TOS DiffServ Codepoint Mask TOS
IP Precedence = 0 0xE0 0x00 EF = 101110 0xFC 0xB8
IP Precedence = 1 0xE0 0x20 AF11 = 001010 0xFC 0x28
IP Precedence = 2 0xE0 0x40 AF12 = 001100 0xFC 0x30
IP Precedence = 3 0xE0 0x60 AF13 = 001110 0xFC 0x38
IP Precedence = 4 0xE0 0x80 AF21 = 010010 0xFC 0x48
IP Precedence = 5 0xE0 0xA0 AF22 = 010100 0xFC 0x50
IP Precedence = 6 0xE0 0xC0 AF23 = 010110 0xFC 0x58
IP Precedence = 7 0xE0 0xE0 AF31 = 011010 0xFC 0x68
AF32 = 011100 0xFC 0x70
AF33 = 011110 0xFC 0x78
AF31 = 100010 0xFC 0x88
AF32 = 100100 0xFC 0x90
AF33 = 100110 0xFC 0x98