ToS and DSCP traffic mapping

There are two types of traffic mapping: Type of Service (ToS) or DSCP (Differentiated Services Code Point). Only one method can be used at a time, with ToS set as the default method. You can set the type used and attributes in the CLI.

To set ToS or DSCP traffic mapping

config system global

set traffic-priority {tos | dscp}

set traffic-priority-level {low | medium | high }

end

Mapping of DSCP and ToS hexadecimal values for QoS
Service Class DSCP Bits DSCP Value ToS Value ToS Hexidecimal
Network Control 111000 56-63 224 0xE0
Internetwork Control 110000 48-55 192 0xC0
Critical - Voice Data (RTP) 101110 46 184 0xB8
101000 40 160 0xA0
Flash Override Video Data 100010 34 136 0x88
100100 36 144 0x90
100110 38 152 0x98
100000 32 128 0x80
Flash Voice Control 011010 26 104 0x68
011100 28 112 0x70
011110 30 120 0x78
011000 24 96 0x60
Immediate Deterministic (SNA) 010010 18 72 0x48
010100 20 80 0x50
010110 22 88 0x58
010000 16 64 0x40
Priority Controlled Load 001010 10 40 0x28
001100 12 48 0x30
001110 14 56 0x38
001000 8 32 0x20
Routine - Best Effort 000000 0 0 0x00
Routine - Penalty Box 000010 2 8 0x08