Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

DSCP

Direct answer

Differentiated Services Code Point (DSCP) is a 6-bit value in the IP header (0–63) that marks traffic class end to end, for example EF (46) for voice and AF41 (34) for video.

When to use this

Use it when classifying or prioritising IP traffic end to end, or when checking that voice and video keep their marking along the path.

First 30 seconds

1. DSCP is a 6-bit IP marking (64 values).

2. EF 46 voice, AF classes, CS values.

3. Survives routing.

4. Providers may re-mark.

5. Keep a documented marking plan.

Operational verification

classify → DSCP set → each hop applies PHB

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · IOS/IOS XE
Key commandshow policy-map interface Gi1/0/1 input
Scope / prerequisiteUse it when classifying or prioritising IP traffic end to end, or when checking that voice and video keep their marking…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Checking DSCP Verify boundary
show policy-map interface Gi1/0/1 input
show platform qos dscp-cos counters interface Gi1/0/1
tcpdump -v -ni eth0 'ip[1] & 0xfc == 0xb8'      # DSCP EF (46)

Documented example, not captured output. Check markings end to end; ISPs and some firewalls reset DSCP to 0.

Step 2 Common mistakes Narrow the fault
  • Re-marking traffic at every hop.
  • Trusting DSCP from user ports.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • DSCP is the 6-bit QoS field in the IP header (0–63).
  • Common values: EF (46) for voice, AF41 (34) for video, CS6 (48) for network control.
  • It is preserved end to end unless rewritten.
Key checks
  • show policy-map interface <interface> — set dscp counters
  • Wireshark filter ip.dsfield.dscp == 46 — verify EF
ReferenceWhat it is1 section · depth on demand

Common DSCP values

ClassDSCPDecimalUse
EF10111046Voice
AF4110001034Interactive video
CS301100024Call signalling
AF2101001018Transactional data
CS611000048Routing protocols
Default (BE)0000000Everything else

AF classes are AFxy: x is the class (queue), y is drop precedence (1 low, 3 high). Mark as close to the source as possible and re-mark at the trust boundary; show policy-map interface shows matches per class.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

DSCP: the Differentiated Services Code Point

The DSCP is the 6-bit value in the IP header that tells each router which per-hop behaviour to apply. RFC 2474 defines it as the top six bits of the DS field (the remaining two bits, CU, are ignored for PHB selection), requires nodes to match on all six bits, makes 000000 the mandatory default (best effort) and defines eight class selector codepoints (xxx000) for compatibility with IP Precedence.

Codepoint pools (RFC 2474)

PoolPatternUse
1xxxxx032 standard codepoints
2xxxx11Experimental or local use
3xxxx01Experimental or local; standards use if pool 1 runs out

Common values

NameBinaryDecimalTypical use
Default (CS0)0000000Best effort
CS10010008Scavenger / lower effort
AF2101001018Transactional data
AF3101101026Signalling / multimedia streaming
AF4110001034Interactive video
CS611000048Network control
EF10111046Voice

Assured Forwarding (AF) and Expedited Forwarding (EF) are defined in later RFCs; the class selectors and the default come from RFC 2474.

Class selectors and IP Precedence (RFC 2474)

IP PrecedenceClass selectorDSCP
0CS00
3CS324
5CS540
6CS648

Higher class selectors must get forwarding treatment no worse than lower ones.

host$ sudo tcpdump -ni eth0 -v udp portrange 16384-32767 | grep -o "tos 0x[0-9a-f]*"
tos 0xb8
R1# show policy-map interface GigabitEthernet0/0/0 output class VOICE
    Match: dscp ef (46)
      Packets matched 48211

ToS byte 0xb8 is DSCP 46 (EF) shifted left by two bits.

Converting

DSCP = ToS byte ÷ 4. Packet captures often show the ToS byte (for example 0xb8), while device configuration uses DSCP names or decimal values.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

DSCP is the six-bit field in the IP header that carries a packet's QoS class from device to device. Values have standard meanings — EF for voice, AF classes for prioritised data, CS values for control traffic — so that independently configured networks can treat traffic consistently. Marking only works if it is trusted at the right place: mark as close to the source as possible, and reset markings from untrusted devices so that users cannot give their own traffic priority.

DSCP (6 bits in the IP ToS/Traffic Class byte) marks per-hop behaviour:

TrafficDSCPValue
VoiceEF46
Interactive videoAF4134
Call signallingCS324
Transactional dataAF2118
Bulk dataAF1110
ScavengerCS18
Best effortDF/CS00
Network controlCS648

AF classes have drop precedence (AFx1 low, AFx3 high). Mark as close to the source as possible and re-mark untrusted traffic at the access edge (no mls qos trust / trust only phones via trust device cisco-phone).

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 2475

Authoritative/upstream documentation reviewed for bounded claims in IP Services → QoS → Marking → DSCP. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc2475.html · confidence 94%
Confirmation

Confirm action

Continue?