Overview
This section explains how traffic mirroring uses Differentiated Service Code Point (DSCP) values to classify and prioritize network traffic. By assigning different priority levels to packets, you can enhance the Quality of Service (QoS) for mirrored data.
Traffic mirroring with DSCP is a traffic mirroring feature that:
-
uses the DSCP value in the Differentiated Services (DS) field of an IP packet to classify network traffic
-
sets the DSCP value in the six most significant bits of the DS field in the IP header, allowing for 64 different values ranging from 0 to 63
-
these six bits affect the Per Hop Behavior (PHB) and determine how a packet is moved forward, and
-
places packets into limited traffic classes for prioritization by routers.
| DSCPValue in Decimal | DS Binary | DSHex | DSCPName | DS/ToSValue | ServiceClass |
| 0 | 000000 | 0x00 | DF/CS0 | 0 | Standard |
| - | - | - | none | 2 | |
| 1 | 000001 | 0x01 | None | 4 | |
| 1 | 000001 | 0x01 | LE | 4 | Lower-effort |
| 2 | 000010 | 0x02 | None | 8 | |
| 4 | 000100 | 0x04 | None | 16 | |
| 8 | 001 000 | 0x08 | CS1 | 32 | Low-priority data |
| 10 | 001 010 | 0x0a | AF11 | 40 | High-throughput data |
| 12 | 001 100 | 0x0c | AF12 | 48 | High-throughput data |
| 14 | 001 110 | 0x0e | AF13 | 56 | High-throughput data |
| 16 | 010 000 | 0x10 | CS2 | 64 | OAM |
| 18 | 010 010 | 0x12 | AF21 | 72 | Low-latency data |
| 20 | 010 100 | 0x14 | AF22 | 80 | Low-latency data |
| 22 | 010 010 | 0x16 | AF23 | 88 | Low-latency data |
| 24 | 011 000 | 0x18 | CS3 | 96 | Broadcast video |
| 26 | 011 000 | 0x1a | AF31 | 104 | Multimedia streaming |
| 28 | 011 100 | 0x1c | AF32 | 112 | Multimedia streaming |
| 30 | 011 110 | 0x1e | AF33 | 120 | Multimedia streaming |
| 32 | 100 000 | 0x20 | CS4 | 128 | Real-time interactive |
| 34 | 100 010 | 0x22 | AF41 | 136 | Multimedia conferencing |
| 36 | 100 100 | 0x24 | AF42 | 144 | Multimedia conferencing |
| 38 |
100 110 |
0x26 | AF43 | 152 | Multimedia conferencing |
| 40 | 101 000 | 0x28 | CS5 | 160 | Signaling(IP telephony, etc) |
| 44 | 101 100 | 0x2c | Voice-admit | 176 | |
| 46 | 101 110 | 0x2e | EF | 184 | Telephony |
| 48 | 110 000 | 0x30 | CS6 | 192 | Network routing control |
| 56 | 111 000 | 0x38 | CS7 | 224 | “reserved” |
The DS field was formerly known as Type of Service (ToS).
The table summarizes the service class names as defined in RFC 2474.
Benefits of traffic mirroring with DSCP
Benefits of using Traffic mirroring with DSCP are:
-
It classifies and manages network traffic.
-
It assigns different priority levels to packets.
-
It enhances the Quality of Service (QoS) for mirrored packets.