People using NetFlow Analyzer might wonder, What do these reports about DSCP and ToS actually mean? In this blog, we’ll explain these fields in detail.
The NetFlow packets exported from the device originally contain ToS value on each flow. Analysis software derives the DSCP from the ToS value.
Type of Service (ToS)
The ToS field, originally defined in RFC 791, is present in the IP header.
The ToS octet consists of three fields. The last 3 bits (7, 6, 5) are for the first field, labeled “Precedence,” intended to denote the importance or priority of the datagram. The second field, labeled “TOS,” denotes how the network should make tradeoffs between throughput, delay, reliability, and cost. The first field, labeled “MBZ” (for “must be zero”) above, is currently unused. The originator of a datagram sets this field to zero (unless participating in an Internet protocol experiment which makes use of that bit). Routers and recipients of datagrams ignore the value of this field. This field is copied on fragmentation.
Differentiated Services Code Point (DSCP)
The definition of ToS was changed entirely in RFC 2474, and it is now called Differentiated Service (DS). On the eight fields, the upper six bit contain value called Differentiated Services Code Point (DSCP). The last two bits are used for Explicit Congestion Notification and it is defined in RFC 3168.
Interpretation of ToS and DSCP fields
DSCP interpretation (RFC 2474)
RFC 791 and RFC 1349
In DSCP, the most significant three bits are directly proportional to IP Precedence. Below is a DSCP to IP Precedence conversion table.
|DSCP Name||DS Field Value||IP Precedence|
|AF33 </t d>||011 110||30||3|
NetFlow Analyzer’s DSCP and ToS reports
NetFlow Analyzer reports on both DSCP and ToS. The DSCP report generated from NetFlow Analyzer will show each DSCP marking traffic utilization and application and conversation marked for DSCP.
The ToS report shows corresponding ToS values for each DSCP.
Learn what QoS baselines Cisco recommends.
Download a 30-day, free trial of NetFlow Analyzer.