QoS DSCP Reference – DSCP Values, PHB Markings, and ToS Byte Mappings
Quality of Service (QoS) in IP networks relies on a 6-bit field called the Differentiated Services Code Point (DSCP), defined in RFC 2474. Routers and switches read this field to determine forwarding priority — ensuring voice calls stay clear, video streams stay smooth, and routine data transfers don't starve critical applications. This reference tool provides a searchable, filterable table of every standard DSCP value with its binary encoding, Per-Hop Behaviour (PHB), traffic class, drop precedence, and the corresponding ToS (Type of Service) byte in decimal, hex, and binary.
The DS Byte: From ToS to DSCP
The original IPv4 header contained an 8-bit ToS field (RFC 791) with a 3-bit IP Precedence subfield. RFC 2474 redefined this byte as the Differentiated Services (DS) byte: the upper 6 bits became the DSCP field, and the lower 2 bits became the ECN (Explicit Congestion Notification) field (RFC 3168). Backward compatibility is preserved — the 8 original IP Precedence levels map to DSCP values 0, 8, 16, 24, 32, 40, 48, and 56 (the Class Selector series).
Converting between DSCP and ToS byte is straightforward: ToS byte = DSCP × 4. Left-shifting by 2 bits places the 6-bit DSCP value in the upper bits of the byte and leaves the two ECN bits as zero. For example, EF (DSCP 46) produces ToS byte 184 (decimal) or 0xB8 (hex).
Per-Hop Behaviour (PHB) Classes
DSCP values are grouped into PHB classes that define how routers treat packets:
- Default Forwarding (DF / BE) — DSCP 0. Standard best-effort delivery with no priority guarantees. Used for ordinary internet traffic.
- Class Selector (CS1–CS7) — DSCP values 8, 16, 24, 32, 40, 48, 56. Direct equivalents of legacy IP Precedence. CS6 and CS7 are reserved for routing protocol traffic (OSPF, BGP, EIGRP).
- Assured Forwarding (AF11–AF43) — Four classes (AF1x through AF4x), each with three drop precedences (low, medium, high). RFC 2597 defines these for traffic that should be delivered under normal conditions but may be dropped during congestion, with higher drop numbers dropped first.
- Expedited Forwarding (EF) — DSCP 46. The highest-priority PHB, designed for low-latency, low-jitter, low-loss traffic such as VoIP bearer streams. EF traffic is typically placed in a strict-priority queue.
- Voice Admit (VA) — DSCP 44. Defined in RFC 5865 for capacity-admitted voice traffic; provides similar forwarding guarantees to EF but indicates admission control has been applied.
Recommended DSCP Markings by Application
RFC 4594 provides the definitive guidance for DSCP markings across application types. The most common enterprise assignments are:
- VoIP bearer (RTP audio) —
EF (DSCP 46) - VoIP signalling (SIP, H.323) —
CS3 (DSCP 24)orCS5 (DSCP 40) - Interactive video conferencing —
AF41 (DSCP 34) - Multimedia streaming —
AF31 (DSCP 26) - Transactional data / ERP —
AF21 (DSCP 18) - Bulk / backup data —
CS1 (DSCP 8) - Routing protocols —
CS6 (DSCP 48)
DSCP in Practice: Marking, Trusting, and Re-marking
Endpoints (phones, video endpoints, servers) ideally mark their own traffic at the source. At network boundaries, routers apply trust boundaries — traffic from untrusted hosts is re-marked to a lower class to prevent abuse. Most enterprise switches trust DSCP markings from managed IP phones but re-mark PC traffic entering the same port.
Wireless networks add complexity: Wi-Fi uses its own priority scheme (WMM/802.11e) with four Access Categories (AC_VO, AC_VI, AC_BE, AC_BK). Mapping DSCP to WMM is performed at the access point based on the upstream DSCP marking, so correct DSCP values on the wired side flow through to wireless clients.
Using This Reference Tool
Type any keyword in the search box — a DSCP name (such as EF or AF41), a decimal value (46), a hex ToS byte (0xB8), a PHB name, or a traffic class description. The table filters in real time. Use the binary columns to verify markings when reading packet captures in tools like Wireshark, where the DS byte is displayed as a raw hex value. Clear the search to restore the full table of all 22 standard DSCP codepoints.