{"id":82260,"date":"2026-09-22T11:13:46","date_gmt":"2026-09-22T14:13:46","guid":{"rendered":"https:\/\/a3aengenharia.com\/?post_type=articles&#038;p=82260"},"modified":"2026-09-22T11:13:46","modified_gmt":"2026-09-22T14:13:46","slug":"what-is-qos-quality-service-dscp-diffserv","status":"publish","type":"articles","link":"https:\/\/a3aengenharia.com\/en-us\/content\/technical-articles\/what-is-qos-quality-service-dscp-diffserv\/","title":{"rendered":"What Is QoS? Quality of Service in Networks, DSCP, DiffServ, and Applications"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">QoS (<em>Quality of Service<\/em>) is the set of mechanisms used to control how different traffic classes compete for finite network resources. In engineering, QoS involves classification, marking, conditioning, queuing, scheduling, and congestion control so that applications with different requirements for delay, delay variation, loss, and throughput receive treatment consistent with those requirements.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">QoS <strong>does not create bandwidth<\/strong> and does not simply mean \u201cgiving priority\u201d to certain packets. A DSCP marking, for example, only identifies an intended treatment; the outcome depends on policies configured in each domain, available queues, the scheduler, congestion state, and whether that marking is preserved along the path.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In practice, QoS becomes relevant when contention exists. In an uncongested network, different classes may show similar performance. When a link, radio, uplink, or output interface approaches saturation, queues determine who waits, who transmits first, who may consume excess bandwidth, and which packets are dropped or signaled before the buffer becomes completely full.<\/p>\n\n\n\n\n<h2 class=\"wp-block-heading\">What QoS Actually Controls in a Network<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Quality of Service should be understood from the <strong>measurable characteristics of the service<\/strong>, not from a fixed list of \u201cimportant\u201d applications. The DiffServ architecture, ITU-T Y.1540\/Y.1541, and classic networking literature converge on four central dimensions: throughput, delay, delay variation, and loss.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Metric<\/td><td>What it represents<\/td><td>Why it matters for QoS<\/td><\/tr><tr><td><strong>Throughput<\/strong><\/td><td>amount of data actually delivered per unit of time<\/td><td>backup flows, high-resolution video, and large transfers may require sustained capacity even without extremely low latency<\/td><\/tr><tr><td><strong>Latency<\/strong><\/td><td>transit time between source and destination<\/td><td>interactive applications, voice, control, and certain operational flows degrade as delay increases<\/td><\/tr><tr><td><strong>Jitter \/ IPDV<\/strong><\/td><td>variation in delay between packets<\/td><td>real-time audio and video depend on regular delivery; playback buffers can absorb only part of this variation<\/td><\/tr><tr><td><strong>Packet loss<\/strong><\/td><td>portion of packets that do not reach the destination<\/td><td>loss can reduce media quality, trigger retransmissions, or decrease throughput in congestion-controlled transports<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">These quantities have different causes. Path latency can be simplified into <strong>propagation<\/strong>, <strong>serialization\/transmission<\/strong>, <strong>processing<\/strong>, and <strong>queueing<\/strong> delay. QoS acts mainly where resources are contested and queues form; it does not eliminate finite propagation speed or, by itself, correct an undersized physical link.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This distinction avoids a common mistake: trying to \u201csolve with priority\u201d a problem that is actually about capacity, architecture, or path. The <a href=\"\/conteudo\/artigos-tecnicos\/trafego-de-rede-fluxos-carga-broadcast-multicast-capacidade\/\">article on network traffic<\/a> examines the relationship among flows, load, and capacity in greater depth.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Latency, Jitter, and Loss Are Not the Same Thing<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Latency<\/strong> \u00e9 atraso. <strong>Jitter<\/strong> \u00e9 a varia\u00e7\u00e3o desse atraso. Uma comunica\u00e7\u00e3o pode ter lat\u00eancia relativamente alta e est\u00e1vel, enquanto outra apresenta lat\u00eancia m\u00e9dia baixa, mas grande dispers\u00e3o entre os tempos de chegada. Para aplica\u00e7\u00f5es interativas, os dois problemas produzem efeitos diferentes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Loss must also be interpreted in the context of the protocol and application. In TCP, losses can induce retransmissions and reduce the congestion window. In UDP\/RTP, the application may continue without retransmission, favoring timeliness over perfect recovery. Therefore, QoS policy should be defined from the actual behavior of the flow.<\/p>\n\n\n\n\n<h2 class=\"wp-block-heading\">Why Congestion Creates the Problem QoS Must Manage<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">An output interface transmits packets at a finite rate. When more bits arrive than it can transmit in that interval, packets must wait in memory. A queue forms.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Small queues absorb natural bursts. Excessively deep queues, however, can hide saturation for some time and introduce hundreds of milliseconds of delay \u2014 a phenomenon associated with <strong>bufferbloat<\/strong>. The problem is no longer merely \u201clack of bandwidth\u201d: interactive applications share the same buffer with aggressive flows designed to consume all available capacity.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Modern QoS therefore is not limited to the scheduler. It combines <strong>classification<\/strong>, <strong>marking<\/strong>, <strong>traffic conditioning<\/strong>, <strong>queue scheduling<\/strong>, <strong>Active Queue Management (AQM)<\/strong>, and, when supported, <strong>Explicit Congestion Notification (ECN)<\/strong>.<\/p>\n\n\n\n\n<h2 class=\"wp-block-heading\">How QoS Works: From the Application to the Output Interface<\/h2>\n\n\n\n<div class=\"wp-block-a3a-destaque\">\n<p class=\"wp-block-paragraph\">Effective QoS starts before switch configuration: flows must be characterized, bottlenecks located, classes and trust boundaries defined, marking policy established, and measurable acceptance criteria specified.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A3A Engenharia structures corporate network designs with architecture, capacity, segmentation, redundancy, and end-to-end documented QoS policy.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"\/servicos\/planejamento\/projeto-de-rede-logica-e-redes-corporativas\/\">Learn About Logical and Corporate Network Design<\/a><\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">A coherent QoS design begins by identifying traffic and ends at the interface that actually experiences contention. Between those points, the network must maintain a consistent policy.<\/p>\n\n\n\n<figure class=\"a3a-mermaid\"><svg id=\"a3a-diagram-1\" width=\"100%\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"flowchart\" style=\"max-width:min(1847.890625px, 100%);height:auto;display:block;margin:0 auto\" viewBox=\"0 0 1847.890625 68.5\" role=\"graphics-document document\" aria-roledescription=\"flowchart-v2\" aria-labelledby=\"chart-title-a3a-diagram-1\"><title id=\"chart-title-a3a-diagram-1\">QoS functional chain from flow identification to transmission<\/title><style>#a3a-diagram-1{font-family:Roboto,sans-serif;font-size:15px;fill:var(--a3a-diag-text, #0a0a0a);}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#a3a-diagram-1 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#a3a-diagram-1 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#a3a-diagram-1 .error-icon{fill:var(--a3a-diag-canvas, #ffffff);}#a3a-diagram-1 .error-text{fill:#000000;stroke:#000000;}#a3a-diagram-1 .edge-thickness-normal{stroke-width:1px;}#a3a-diagram-1 .edge-thickness-thick{stroke-width:3.5px;}#a3a-diagram-1 .edge-pattern-solid{stroke-dasharray:0;}#a3a-diagram-1 .edge-thickness-invisible{stroke-width:0;fill:none;}#a3a-diagram-1 .edge-pattern-dashed{stroke-dasharray:3;}#a3a-diagram-1 .edge-pattern-dotted{stroke-dasharray:2;}#a3a-diagram-1 .marker{fill:var(--a3a-diag-stroke, #2e42a2);stroke:var(--a3a-diag-stroke, #2e42a2);}#a3a-diagram-1 .marker.cross{stroke:var(--a3a-diag-stroke, #2e42a2);}#a3a-diagram-1 svg{font-family:Roboto,sans-serif;font-size:15px;}#a3a-diagram-1 p{margin:0;}#a3a-diagram-1 .label{font-family:Roboto,sans-serif;color:var(--a3a-diag-text, #0a0a0a);}#a3a-diagram-1 .cluster-label text{fill:var(--a3a-diag-title, #0124af);}#a3a-diagram-1 .cluster-label span{color:var(--a3a-diag-title, #0124af);}#a3a-diagram-1 .cluster-label span p{background-color:transparent;}#a3a-diagram-1 .label text,#a3a-diagram-1 span{fill:var(--a3a-diag-text, #0a0a0a);color:var(--a3a-diag-text, #0a0a0a);}#a3a-diagram-1 .node rect,#a3a-diagram-1 .node circle,#a3a-diagram-1 .node ellipse,#a3a-diagram-1 .node polygon,#a3a-diagram-1 .node path{fill:var(--a3a-diag-fill, #eef2fd);stroke:var(--a3a-diag-stroke, #2e42a2);stroke-width:1px;}#a3a-diagram-1 .rough-node .label text,#a3a-diagram-1 .node .label text,#a3a-diagram-1 .image-shape .label,#a3a-diagram-1 .icon-shape .label{text-anchor:middle;}#a3a-diagram-1 .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#a3a-diagram-1 .rough-node .label,#a3a-diagram-1 .node .label,#a3a-diagram-1 .image-shape .label,#a3a-diagram-1 .icon-shape .label{text-align:center;}#a3a-diagram-1 .node.clickable{cursor:pointer;}#a3a-diagram-1 .root .anchor path{fill:var(--a3a-diag-stroke, #2e42a2)!important;stroke-width:0;stroke:var(--a3a-diag-stroke, #2e42a2);}#a3a-diagram-1 .arrowheadPath{fill:var(--a3a-diag-stroke, #0b0b0b);}#a3a-diagram-1 .edgePath .path{stroke:var(--a3a-diag-stroke, #2e42a2);stroke-width:2.0px;}#a3a-diagram-1 .flowchart-link{stroke:var(--a3a-diag-stroke, #2e42a2);fill:none;}#a3a-diagram-1 .edgeLabel{background-color:var(--a3a-diag-canvas, #ffffff);text-align:center;}#a3a-diagram-1 .edgeLabel p{background-color:var(--a3a-diag-canvas, #ffffff);}#a3a-diagram-1 .edgeLabel rect{opacity:0.5;background-color:var(--a3a-diag-canvas, #ffffff);fill:var(--a3a-diag-canvas, #ffffff);}#a3a-diagram-1 .labelBkg{background-color:rgba(255, 255, 255, 0.5);}#a3a-diagram-1 .cluster rect{fill:var(--a3a-diag-surface, #f8f8f8);stroke:var(--a3a-diag-border, #e2e8f0);stroke-width:1px;}#a3a-diagram-1 .cluster text{fill:var(--a3a-diag-title, #0124af);}#a3a-diagram-1 .cluster span{color:var(--a3a-diag-title, #0124af);}#a3a-diagram-1 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:Roboto,sans-serif;font-size:12px;background:var(--a3a-diag-canvas, #ffffff);border:1px solid hsl(0, 0%, 90%);border-radius:2px;pointer-events:none;z-index:100;}#a3a-diagram-1 .flowchartTitleText{text-anchor:middle;font-size:18px;fill:var(--a3a-diag-text, #0a0a0a);}#a3a-diagram-1 rect.text{fill:none;stroke-width:0;}#a3a-diagram-1 .icon-shape,#a3a-diagram-1 .image-shape{background-color:var(--a3a-diag-canvas, #ffffff);text-align:center;}#a3a-diagram-1 .icon-shape p,#a3a-diagram-1 .image-shape p{background-color:var(--a3a-diag-canvas, #ffffff);padding:2px;}#a3a-diagram-1 .icon-shape rect,#a3a-diagram-1 .image-shape rect{opacity:0.5;background-color:var(--a3a-diag-canvas, #ffffff);fill:var(--a3a-diag-canvas, #ffffff);}#a3a-diagram-1 .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#a3a-diagram-1 .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#a3a-diagram-1 :root{--mermaid-font-family:Roboto,sans-serif;}<\/style><g><marker id=\"a3a-diagram-1_flowchart-v2-pointEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 0 L 10 5 L 0 10 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"><\/path><\/marker><marker id=\"a3a-diagram-1_flowchart-v2-pointStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"4.5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 5 L 10 10 L 10 0 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"><\/path><\/marker><marker id=\"a3a-diagram-1_flowchart-v2-circleEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"11\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"><\/circle><\/marker><marker id=\"a3a-diagram-1_flowchart-v2-circleStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-1\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"><\/circle><\/marker><marker id=\"a3a-diagram-1_flowchart-v2-crossEnd\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"12\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"><\/path><\/marker><marker id=\"a3a-diagram-1_flowchart-v2-crossStart\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"-1\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"><\/path><\/marker><g class=\"root\"><g class=\"clusters\"><\/g><g class=\"edgePaths\"><path d=\"M182.891,34.25L187.057,34.25C191.224,34.25,199.557,34.25,207.224,34.25C214.891,34.25,221.891,34.25,225.391,34.25L228.891,34.25\" id=\"L_A_B_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_A_B_0\" data-points=\"W3sieCI6MTgyLjg5MDYyNSwieSI6MzQuMjV9LHsieCI6MjA3Ljg5MDYyNSwieSI6MzQuMjV9LHsieCI6MjMyLjg5MDYyNSwieSI6MzQuMjV9XQ==\" marker-end=\"url(#a3a-diagram-1_flowchart-v2-pointEnd)\"><\/path><path d=\"M379.313,34.25L383.479,34.25C387.646,34.25,395.979,34.25,403.646,34.25C411.313,34.25,418.313,34.25,421.813,34.25L425.313,34.25\" id=\"L_B_C_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_B_C_0\" data-points=\"W3sieCI6Mzc5LjMxMjUsInkiOjM0LjI1fSx7IngiOjQwNC4zMTI1LCJ5IjozNC4yNX0seyJ4Ijo0MjkuMzEyNSwieSI6MzQuMjV9XQ==\" marker-end=\"url(#a3a-diagram-1_flowchart-v2-pointEnd)\"><\/path><path d=\"M643.813,34.25L647.979,34.25C652.146,34.25,660.479,34.25,668.146,34.25C675.813,34.25,682.813,34.25,686.313,34.25L689.813,34.25\" id=\"L_C_D_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_C_D_0\" data-points=\"W3sieCI6NjQzLjgxMjUsInkiOjM0LjI1fSx7IngiOjY2OC44MTI1LCJ5IjozNC4yNX0seyJ4Ijo2OTMuODEyNSwieSI6MzQuMjV9XQ==\" marker-end=\"url(#a3a-diagram-1_flowchart-v2-pointEnd)\"><\/path><path d=\"M948.266,34.25L952.432,34.25C956.599,34.25,964.932,34.25,972.599,34.25C980.266,34.25,987.266,34.25,990.766,34.25L994.266,34.25\" id=\"L_D_E_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_D_E_0\" data-points=\"W3sieCI6OTQ4LjI2NTYyNSwieSI6MzQuMjV9LHsieCI6OTczLjI2NTYyNSwieSI6MzQuMjV9LHsieCI6OTk4LjI2NTYyNSwieSI6MzQuMjV9XQ==\" marker-end=\"url(#a3a-diagram-1_flowchart-v2-pointEnd)\"><\/path><path d=\"M1157.266,34.25L1161.432,34.25C1165.599,34.25,1173.932,34.25,1181.599,34.25C1189.266,34.25,1196.266,34.25,1199.766,34.25L1203.266,34.25\" id=\"L_E_F_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_E_F_0\" data-points=\"W3sieCI6MTE1Ny4yNjU2MjUsInkiOjM0LjI1fSx7IngiOjExODIuMjY1NjI1LCJ5IjozNC4yNX0seyJ4IjoxMjA3LjI2NTYyNSwieSI6MzQuMjV9XQ==\" marker-end=\"url(#a3a-diagram-1_flowchart-v2-pointEnd)\"><\/path><path d=\"M1382.063,34.25L1386.229,34.25C1390.396,34.25,1398.729,34.25,1406.396,34.25C1414.063,34.25,1421.063,34.25,1424.563,34.25L1428.063,34.25\" id=\"L_F_G_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_F_G_0\" data-points=\"W3sieCI6MTM4Mi4wNjI1LCJ5IjozNC4yNX0seyJ4IjoxNDA3LjA2MjUsInkiOjM0LjI1fSx7IngiOjE0MzIuMDYyNSwieSI6MzQuMjV9XQ==\" marker-end=\"url(#a3a-diagram-1_flowchart-v2-pointEnd)\"><\/path><path d=\"M1613.813,34.25L1617.979,34.25C1622.146,34.25,1630.479,34.25,1638.146,34.25C1645.813,34.25,1652.813,34.25,1656.313,34.25L1659.813,34.25\" id=\"L_G_H_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_G_H_0\" data-points=\"W3sieCI6MTYxMy44MTI1LCJ5IjozNC4yNX0seyJ4IjoxNjM4LjgxMjUsInkiOjM0LjI1fSx7IngiOjE2NjMuODEyNSwieSI6MzQuMjV9XQ==\" marker-end=\"url(#a3a-diagram-1_flowchart-v2-pointEnd)\"><\/path><\/g><g class=\"edgeLabels\"><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_A_B_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><\/span><\/div><\/foreignObject><\/g><\/g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_B_C_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><\/span><\/div><\/foreignObject><\/g><\/g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_C_D_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><\/span><\/div><\/foreignObject><\/g><\/g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_D_E_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><\/span><\/div><\/foreignObject><\/g><\/g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_E_F_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><\/span><\/div><\/foreignObject><\/g><\/g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_F_G_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><\/span><\/div><\/foreignObject><\/g><\/g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_G_H_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><\/span><\/div><\/foreignObject><\/g><\/g><\/g><g class=\"nodes\"><g class=\"node default\" id=\"flowchart-A-0\" transform=\"translate(95.4453125, 34.25)\"><rect class=\"basic label-container\" style=\"\" x=\"-87.4453125\" y=\"-26.25\" width=\"174.890625\" height=\"52.5\"><\/rect><g class=\"label\" style=\"\" transform=\"translate(-57.4453125, -11.25)\"><rect><\/rect><foreignObject width=\"114.890625\" height=\"22.5\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Application and flow<\/p><\/span><\/div><\/foreignObject><\/g><\/g><g class=\"node default\" id=\"flowchart-B-1\" transform=\"translate(306.1015625, 34.25)\"><rect class=\"basic label-container\" style=\"\" x=\"-73.2109375\" y=\"-26.25\" width=\"146.421875\" height=\"52.5\"><\/rect><g class=\"label\" style=\"\" transform=\"translate(-43.2109375, -11.25)\"><rect><\/rect><foreignObject width=\"86.421875\" height=\"22.5\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Classification<\/p><\/span><\/div><\/foreignObject><\/g><\/g><g class=\"node default\" id=\"flowchart-C-3\" transform=\"translate(536.5625, 34.25)\"><rect class=\"basic label-container\" style=\"\" x=\"-107.25\" y=\"-26.25\" width=\"214.5\" height=\"52.5\"><\/rect><g class=\"label\" style=\"\" transform=\"translate(-77.25, -11.25)\"><rect><\/rect><foreignObject width=\"154.5\" height=\"22.5\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>DSCP or PCP marking<\/p><\/span><\/div><\/foreignObject><\/g><\/g><g class=\"node default\" id=\"flowchart-D-5\" transform=\"translate(821.0390625, 34.25)\"><rect class=\"basic label-container\" style=\"\" x=\"-127.2265625\" y=\"-26.25\" width=\"254.453125\" height=\"52.5\"><\/rect><g class=\"label\" style=\"\" transform=\"translate(-97.2265625, -11.25)\"><rect><\/rect><foreignObject width=\"194.453125\" height=\"22.5\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Metering and conditioning<\/p><\/span><\/div><\/foreignObject><\/g><\/g><g class=\"node default\" id=\"flowchart-E-7\" transform=\"translate(1077.765625, 34.25)\"><rect class=\"basic label-container\" style=\"\" x=\"-79.5\" y=\"-26.25\" width=\"159\" height=\"52.5\"><\/rect><g class=\"label\" style=\"\" transform=\"translate(-49.5, -11.25)\"><rect><\/rect><foreignObject width=\"99\" height=\"22.5\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Queue selection<\/p><\/span><\/div><\/foreignObject><\/g><\/g><g class=\"node default\" id=\"flowchart-F-9\" transform=\"translate(1294.6640625, 34.25)\"><rect class=\"basic label-container\" style=\"\" x=\"-87.3984375\" y=\"-26.25\" width=\"174.796875\" height=\"52.5\"><\/rect><g class=\"label\" style=\"\" transform=\"translate(-57.3984375, -11.25)\"><rect><\/rect><foreignObject width=\"114.796875\" height=\"22.5\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Scheduler and AQM<\/p><\/span><\/div><\/foreignObject><\/g><\/g><g class=\"node default\" id=\"flowchart-G-11\" transform=\"translate(1522.9375, 34.25)\"><rect class=\"basic label-container\" style=\"\" x=\"-90.875\" y=\"-26.25\" width=\"181.75\" height=\"52.5\"><\/rect><g class=\"label\" style=\"\" transform=\"translate(-60.875, -11.25)\"><rect><\/rect><foreignObject width=\"121.75\" height=\"22.5\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Output interface<\/p><\/span><\/div><\/foreignObject><\/g><\/g><g class=\"node default\" id=\"flowchart-H-13\" transform=\"translate(1751.8515625, 34.25)\"><rect class=\"basic label-container\" style=\"\" x=\"-88.0390625\" y=\"-26.25\" width=\"176.078125\" height=\"52.5\"><\/rect><g class=\"label\" style=\"\" transform=\"translate(-58.0390625, -11.25)\"><rect><\/rect><foreignObject width=\"116.078125\" height=\"22.5\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Next domain<\/p><\/span><\/div><\/foreignObject><\/g><\/g><\/g><\/g><\/g><\/svg><figcaption>QoS functional chain from flow identification to transmission<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The sequence does not imply that every device performs every function. In DiffServ architectures, more complex operations can be concentrated at domain edges while the core applies <strong>Per-Hop Behaviors (PHBs)<\/strong> in a scalable way.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Classification<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Classification means deciding which class a packet belongs to. The classifier may consider source and destination, prefixes, ports, protocol, VLAN, interface, identified application, security context, or other attributes available on the device.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A good policy prefers stable criteria. Classifying solely by TCP\/UDP port, for example, has become less reliable in modern applications that share HTTPS, QUIC, or tunnels. When the application itself marks its packets, the network must still decide whether it <strong>trusts<\/strong> that marking.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Trust Boundary: Where the Network Begins to Trust Marking<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The trust boundary is one of the most important design points. Marking received from an endpoint should not be accepted automatically in every environment; otherwise, a device could declare all of its traffic critical.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">At the edge, policy may:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>trust marking from a managed endpoint or system;<\/li><li>reclassify the flow based on local policy;<\/li><li>remark DSCP\/PCP to the domain&#8217;s internal values;<\/li><li>limit or police classes with reserved resources;<\/li><li>remove unauthorized markings.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This decision is part of network security and resource governance, not just performance.<\/p>\n\n\n\n\n<h2 class=\"wp-block-heading\">DSCP, DS Field, and Why Marking Is Not Automatic Priority<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong>Differentiated Services Code Point (DSCP)<\/strong> occupies six bits of the DS field in the IP header. The remaining two bits of the octet are used by ECN. DSCP selects the behavior the network intends to associate with the packet within a DiffServ domain.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is incorrect to treat the decimal DSCP value as a universal scale where \u201chigher means higher priority.\u201d Codepoints represent semantics defined by standards or domain policies. Treatment exists only if nodes are configured to map that codepoint to the corresponding PHB and queue mechanisms.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Likewise, <strong>marking does not reserve bandwidth<\/strong>. An EF packet does not magically receive low latency because it contains a particular bit pattern; the network must provision capacity, limit admission to the class, and configure compatible forwarding behavior.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">DSCP vs. PCP\/CoS in Ethernet<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In Ethernet networks with VLANs, IEEE 802.1Q provides a three-bit <strong>Priority Code Point (PCP)<\/strong> field in the VLAN tag. This allows eight user-priority values to be represented in the Layer 2 domain.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">DSCP and PCP operate at different layers:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>DSCP<\/strong>: Layer 3 marking in the IPv4\/IPv6 header;<\/li><li><strong>PCP<\/strong>: priority information associated with the IEEE 802.1Q tag at Layer 2;<\/li><li><strong>mapping between them<\/strong>: domain policy, not automatic equivalence.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">When crossing L2\/L3 boundaries, tunnels, or administrative domains, engineering must explicitly define what is preserved, translated, or removed.<\/p>\n\n\n\n\n<h2 class=\"wp-block-heading\">DiffServ: The Most Important Architecture for Scalable IP QoS<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong>Differentiated Services (DiffServ)<\/strong> architecture was designed to provide service differentiation at scale. Traffic is classified and conditioned at the edges, marked in the DS field, and aggregated into behavior classes. In the core, each packet receives a <strong>Per-Hop Behavior<\/strong> associated with its DSCP.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This approach addresses a limitation of per-flow state architectures: the core does not need to maintain an individual reservation for each session. It handles aggregates.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">PHB: The Treatment a Node Applies Per Hop<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A PHB describes the observable behavior an aggregate receives at a node. This is different from promising an end-to-end result. End-to-end experience results from the composition of all hops and domains traversed.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>PHB \/ treatment<\/td><td>Purpose<\/td><td>Engineering note<\/td><\/tr><tr><td><strong>Default \/ Best Effort<\/strong><\/td><td>standard Internet service<\/td><td>suitable for traffic without special requirements; it does not mean \u201cbad traffic\u201d<\/td><\/tr><tr><td><strong>EF \u2014 Expedited Forwarding<\/strong><\/td><td>basis for low-delay, low-jitter, and low-loss services<\/td><td>depends on configured rate and admission\/conditioning control; it should not become an unlimited queue for \u201ceverything important\u201d<\/td><\/tr><tr><td><strong>AF \u2014 Assured Forwarding<\/strong><\/td><td>four classes with different resources and three drop-precedence levels in each class<\/td><td>useful when different forwarding probabilities under congestion are desired<\/td><\/tr><tr><td><strong>LE \u2014 Lower Effort<\/strong><\/td><td>traffic that can yield resources to Best Effort during congestion<\/td><td>appropriate for lower-urgency services such as certain synchronization jobs and opportunistic transfers<\/td><\/tr><tr><td><strong>NQB \u2014 Non-Queue-Building<\/strong><\/td><td>isolate smooth, low-rate, non-queue-building microflows from traffic that creates deep queues<\/td><td>recent PHB; it offers neither reserved capacity nor \u201chigh priority\u201d<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">RFC 4594 organizes service classes according to application characteristics and performance requirements. It presents a broad set of reference classes but does not recommend that every network implement all of them. In practice, <strong>fewer well-defined, measurable classes usually produce more robust policies<\/strong> than dozens of classes that are difficult to operate.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">EF Is Not Synonymous With Voice, and AF Is Not Synonymous With Video<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">These associations appear in many vendor examples, but design should start from the requirement. A control-signaling flow may deserve different treatment from a media flow; recorded video for storage may tolerate queueing delay that videoconferencing cannot; camera traffic may require high throughput without requiring the same low-latency treatment as interactive voice.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The PHB should be selected according to the engineering requirements of the class, not the application name.<\/p>\n\n\n\n\n<h2 class=\"wp-block-heading\">Queues and Schedulers: Who Transmits When Contention Exists<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After classification, packets are normally associated with output queues. The <strong>scheduler<\/strong> decides in what order and proportion those queues use the interface.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exact names vary by platform, but common conceptual models include FIFO, strict priority, and weighted-sharing algorithms such as WFQ, WRR\/DRR, plus commercial variants.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">FIFO<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In <strong>First In, First Out<\/strong>, all packets share one queue and leave in arrival order. It is simple but does not differentiate classes. A large flow can increase the delay experienced by a small interactive flow.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Strict Priority<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A strict-priority queue can be served before the others. It is useful for traffic with stringent requirements but requires protection against <strong>starvation<\/strong>: if the priority class can occupy the interface indefinitely, other classes may receive insufficient service.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For this reason, priority classes must be sized and controlled. \u201cMarking more things as priority\u201d tends to destroy the benefit of priority itself.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Weighted Sharing<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Weighted schedulers distribute capacity among classes according to weights, minimum guarantees, or equivalent policies. They are useful for classes that need predictable participation under congestion but can use excess bandwidth when other queues are empty.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A common design combines a limited strict-priority queue for genuinely time-sensitive traffic with weighted queues for other classes. The principle is more important than the commercial name of the mechanism.<\/p>\n\n\n\n\n<h2 class=\"wp-block-heading\">Shaping vs. Policing: Two Mechanisms That Should Not Be Confused<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Traffic shaping<\/strong> and <strong>traffic policing<\/strong> control rate, but they do so differently.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Mechanism<\/td><td>Action when traffic exceeds the profile<\/td><td>Typical effect<\/td><\/tr><tr><td><strong>Shaping<\/strong><\/td><td>temporarily holds packets and smooths the output rate<\/td><td>adds controlled queueing and delay to fit the flow to a configured rate<\/td><\/tr><tr><td><strong>Policing<\/strong><\/td><td>identifies out-of-profile traffic and may drop or remark packets<\/td><td>limits resource use without creating a waiting queue equivalent to shaping<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Shaping is particularly useful before a bottleneck whose effective rate is lower than the local interface&#8217;s physical speed, because it allows the device to build the queue at a point where it has QoS control.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Policing is useful at contractual boundaries or to protect classes. However, aggressively dropping TCP-oriented traffic can reduce throughput and create retransmission cycles. Policy must consider transport behavior.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Token Bucket, srTCM, and trTCM<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Many conditioners are explained by <strong>token bucket<\/strong> models. Tokens represent permission to transmit a number of bytes; they accumulate at a rate and are limited by a burst size.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">RFC 2697 defines the <strong>Single Rate Three Color Marker (srTCM)<\/strong>, based on CIR, CBS, and EBS. RFC 2698 defines the <strong>Two Rate Three Color Marker (trTCM)<\/strong>, which adds a peak rate. These models distinguish in-profile, excess, and clearly out-of-profile traffic, enabling AF and policing policies more refined than a simple \u201cpass or drop.\u201d<\/p>\n\n\n\n\n<h2 class=\"wp-block-heading\">AQM, ECN, and Bufferbloat: QoS Also Means Controlling the Queue Before It Overflows<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In a traditional <strong>tail drop<\/strong> queue, packets are dropped only when the buffer reaches its limit. This behavior can keep queues persistently full and introduce high delay.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Active Queue Management (AQM)<\/strong> attempts to detect congestion before complete overflow and signal it through dropping or, when ECN is supported, explicit marking. RFC 7567 strongly recommends the use of AQM as part of preserving Internet performance.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">RED\/WRED, CoDel, and FQ-CoDel<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">RED and its derivatives introduced the idea of early probabilistic dropping. WRED implementations can also associate different drop profiles with classes or precedences.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>CoDel<\/strong>, described in RFC 8289 as Experimental, uses packet residence time in the queue (<em>sojourn time<\/em>) to control excess delay associated with bufferbloat. <strong>FQ-CoDel<\/strong>, RFC 8290, combines flow separation with AQM, reducing the ability of a heavy flow to increase latency for all others.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These mechanisms show an important evolution: perceived quality depends not only on the order in which classes leave the queue, but also on <strong>how long the network allows the queue to grow<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">ECN: Signaling Congestion Without Necessarily Dropping<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">RFC 3168 introduced <strong>Explicit Congestion Notification<\/strong> in IP\/TCP. Instead of signaling congestion exclusively through loss, an AQM node can mark ECN-capable packets, allowing endpoints to react to congestion.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ECN does not eliminate the need for queues and congestion control. It adds an explicit form of signaling between network and transport. Modern low-latency approaches such as L4S extend this concept.<\/p>\n\n\n\n\n<h2 class=\"wp-block-heading\">IntServ and RSVP: Per-Flow Reservation and the Difference From DiffServ<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before DiffServ became the main scalable differentiation architecture, the IETF developed the <strong>Integrated Services (IntServ)<\/strong> model. The idea is to allow applications to request resources and nodes to maintain state associated with flows.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>RSVP<\/strong>, defined in RFC 2205, is a reservation signaling protocol for unicast or multicast flows. Combined with IntServ, it enables admission control and treatment based on explicit requirements.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The architectural difference is fundamental:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>IntServ\/RSVP<\/strong> works with per-flow state and reservation;<\/li><li><strong>DiffServ<\/strong> aggregates traffic into classes and applies scalable PHBs by domain.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">IntServ remains conceptually important and RSVP has specific uses, but maintaining per-flow state in large networks creates scalability and operational challenges. In corporate, campus, WAN, and service-provider networks, DiffServ is usually the most common foundation for QoS policies.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">QoS in Ethernet: IEEE 802.1Q and Traffic Classes<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">IEEE 802.1Q is the central reference for bridges and bridged networks, including VLANs and mechanisms associated with user priorities. In a network with VLAN tags, PCP carries a priority indication in the Ethernet domain.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This does not make Ethernet automatically aligned with IP. A design must define the <strong>DSCP &#x2194; PCP &#x2194; hardware-queue<\/strong> mapping for each switch type and identify situations where the VLAN tag is removed, added, or changed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In converged networks, consistency across layers avoids paradoxical behavior: a packet can be marked critical at IP while entering a Best Effort queue at Layer 2 if no appropriate translation policy exists.<\/p>\n\n\n\n\n<h2 class=\"wp-block-heading\">QoS in Wi-Fi: EDCA, Access Categories, and DiffServ Mapping<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In WLANs, the medium is shared and the problem changes: in addition to device queues, stations compete for radio access. IEEE 802.11-2024 consolidates current MAC\/PHY mechanisms, including QoS mechanisms incorporated into the standard through its revisions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The EDCA model uses four <strong>Access Categories<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>AC_VO<\/strong> \u2014 Voice;<\/li><li><strong>AC_VI<\/strong> \u2014 Video;<\/li><li><strong>AC_BE<\/strong> \u2014 Best Effort;<\/li><li><strong>AC_BK<\/strong> \u2014 Background.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">These categories statistically alter access opportunities to the medium. Therefore, translating DSCP directly into an Access Category requires care: a marking created for behavior in IP may produce different priority when interpreted in Wi-Fi.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">RFC 8325 provides recommendations for mapping DiffServ classes to IEEE 802.11. Engineering should use this mapping deliberately, especially in dense corporate networks. For coverage, capacity, roaming, and radio behavior, also see <a href=\"\/servicos\/planejamento\/projeto-de-rede-wifi-corporativa\/\">Corporate Wi-Fi Network Design<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">NQB Made Wi-Fi Mapping Even More Interesting<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">RFC 9956, published in 2026, updates RFC 8325 guidance for the new <strong>NQB PHB<\/strong>. The recommended DSCP for NQB is <strong>decimal 45<\/strong>. The key point is that NQB does not represent \u201chigh priority\u201d: it represents low-rate, non-queue-building traffic that should be isolated from flows that create persistent queues.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On Wi-Fi equipment fully compatible with the NQB recommendation, the intent is to keep NQB in a separate queue with forwarding preference equivalent to Best Effort. On legacy equipment, DSCP 45 may map to treatment as video, which is why the RFC explicitly discusses interoperability, remarking, and protection against misuse.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is a good example of why <strong>reading DSCP as a simple priority number is technically incorrect<\/strong>.<\/p>\n\n\n\n\n<h2 class=\"wp-block-heading\">QoS in WAN, MPLS, SD-WAN, Tunnels, and Multiple Domains<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Within a single campus, the organization controls almost the entire path. In WANs and provider connections, policy crosses administrative boundaries.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A packet may leave the campus marked, traverse a tunnel, receive another header, enter an MPLS network, cross a public Internet path that clears DSCP, and arrive at a destination where the original marking no longer exists. End-to-end QoS therefore requires distinguishing <strong>local intent<\/strong> from <strong>contracted treatment between domains<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Design considerations include:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>which DSCPs the provider accepts;<\/li><li>how classes are mapped to the WAN service;<\/li><li>where remarking or <em>DSCP bleaching<\/em> occurs;<\/li><li>how tunnels copy, or do not copy, QoS information between inner and outer headers;<\/li><li>where the actual bottleneck is;<\/li><li>what rate the shaper should use when the physical interface is faster than the contracted service;<\/li><li>how alternative paths maintain equivalent policy.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">In SD-WAN, dynamic path selection can complement QoS: a sensitive flow can be directed to a link that better meets its loss, latency, and jitter requirements. This does not replace queue management at the bottleneck.<\/p>\n\n\n\n\n<h2 class=\"wp-block-heading\">QoS for Voice, Videoconferencing, CCTV, and Corporate Applications<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A mature policy separates <strong>service requirements<\/strong> from application labels.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Voice and Interactive Communications<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Conversational voice is sensitive to delay, jitter, and loss. ITU-T G.114 addresses the impact of one-way delay on conversational quality and notes that highly interactive tasks can be affected well before extreme delay limits.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For voice, traffic volume is usually relatively small and predictable, making a properly sized low-latency class feasible. However, signaling, media, and auxiliary services do not necessarily need to receive exactly the same PHB.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"\/servicos\/planejamento\/projeto-de-telefonia-ip-e-comunicacoes-unificadas\/\">IP Telephony and Unified Communications Design<\/a> should integrate codec, capacity, architecture, signaling, and QoS policy instead of treating QoS as an isolated switch configuration.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Videoconferencing and AV over IP<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Videoconferencing combines delay-sensitive audio with video that requires more bandwidth and may adapt bitrate. AV over IP may also use multicast, synchronization, and very high-rate flows.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Putting all this traffic in a strict-priority queue is simplistic. Policy should reserve low latency where it is actually required and guarantee capacity to media classes without allowing an extended burst to monopolize the interface.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">IP CCTV: Maximum Priority Is Not Always the Right Answer<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In IP CCTV, video traffic should not automatically be classified as maximum priority. QoS policy should distinguish flows by sensitivity to delay and jitter, sustained-throughput requirements, operational criticality, and consequences of loss.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A CCTV system can have different flows:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Flow<\/td><td>Predominant characteristic<\/td><td>Possible treatment<\/td><\/tr><tr><td><strong>camera \u2192 VMS\/NVR recording stream<\/strong><\/td><td>sustained and predictable throughput; high aggregation<\/td><td>class with sufficient bandwidth and congestion protection, without necessarily using strict priority<\/td><\/tr><tr><td><strong>operational live view<\/strong><\/td><td>sensitive to delay\/jitter during real-time operation<\/td><td>may justify a class distinct from recording traffic<\/td><\/tr><tr><td><strong>PTZ and control commands<\/strong><\/td><td>low rate, high interactivity<\/td><td>a separate control class may be more important than prioritizing all video<\/td><\/tr><tr><td><strong>evidence export \/ backup<\/strong><\/td><td>large data volume, relatively low urgency<\/td><td>candidate for Best Effort or Lower Effort according to policy<\/td><\/tr><tr><td><strong>distributed analytics<\/strong><\/td><td>profile depends on architecture: metadata, video, or both<\/td><td>classify by actual flow and operational consequence<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"> CCTV QoS policy should be defined from aggregate bitrate, oversubscription, topology, multicast or unicast use, redundancy, storage architecture, and operational criticality. The <a href=\"\/conteudo\/artigos-tecnicos\/cabeamento-estruturado-em-cftv\/\">article on network cabling for IP CCTV<\/a> complements the physical and access layers of this problem.<\/p>\n\n\n\n\n<h2 class=\"wp-block-heading\">End-to-End QoS: Isolated Marking Does Not Guarantee Quality<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The expression <strong>end-to-end QoS<\/strong> only makes sense when policy is analyzed along the entire relevant path. A packet can receive excellent treatment across nine hops and suffer severe congestion at the tenth. Application results will be determined by the bottleneck.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This requires an architectural view. <a href=\"\/conteudo\/artigos-tecnicos\/arquitetura-e-topologia-de-rede-em-projetos-de-telecom\/\">Corporate Network Architecture<\/a> defines the domains, paths, and aggregation points over which QoS policy will be applied.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Recommended Design Method<\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Survey applications and flows.<\/strong> Identify source, destination, protocol, direction, average rate, peak, burst, and criticality.<\/li><li><strong>Define measurable requirements.<\/strong> Establish what actually matters for each class: delay, IPDV\/jitter, loss, throughput, or availability.<\/li><li><strong>Locate bottlenecks.<\/strong> Map uplinks, WAN links, radios, oversubscribed interfaces, and contracted services below physical speed.<\/li><li><strong>Define a small number of service classes.<\/strong> Group applications with similar characteristics and avoid one class per application.<\/li><li><strong>Define trust boundaries.<\/strong> Determine who can mark, where the network trusts, and where it remarks.<\/li><li><strong>Select PHBs and queues.<\/strong> Associate each class with coherent treatment: limited priority, weighted sharing, Best Effort, Lower Effort, or NQB where applicable.<\/li><li><strong>Apply shaping\/policing.<\/strong> Condition traffic at the edges and build the queue before the bottleneck when necessary.<\/li><li><strong>Define AQM\/ECN.<\/strong> Control deep queues and enable congestion signaling when endpoints and devices support it.<\/li><li><strong>Map across technologies.<\/strong> Document DSCP, PCP, Wi-Fi Access Category, WAN\/MPLS classes, and tunnel behavior.<\/li><li><strong>Test under congestion.<\/strong> QoS must be validated when contention exists; testing only on an idle network does not prove the policy.<\/li><li><strong>Monitor and review.<\/strong> Compare policy against actual telemetry and application changes.<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">A <a href=\"\/servicos\/planejamento\/projeto-de-rede-logica-e-redes-corporativas\/\">Logical and Corporate Network Design<\/a> should record this policy as part of the architecture and technical documentation, not as a collection of vendor-specific commands.<\/p>\n\n\n\n\n<h2 class=\"wp-block-heading\">How to Validate Whether QoS Is Working<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Validation must observe both <strong>configuration<\/strong> and <strong>behavior<\/strong>. Seeing a DSCP in the packet confirms marking but does not prove that the packet received the intended treatment.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Relevant indicators include:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>utilization by interface and class;<\/li><li>queue rates and buffer occupancy;<\/li><li>drops by class and cause;<\/li><li>ECN marks where applicable;<\/li><li>delivered throughput;<\/li><li>end-to-end latency, jitter\/IPDV, and loss;<\/li><li>policer drops and out-of-profile traffic;<\/li><li>DSCP changes when crossing boundaries;<\/li><li>distribution of flows consuming each class.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Flow telemetry helps identify who is consuming the network. The article <a href=\"\/conteudo\/artigos-tecnicos\/netflow-o-que-e-como-funciona-analisar-trafego-rede\/\">NetFlow: what it is, how it works, and how to analyze network traffic<\/a> details this level of observability. <a href=\"\/conteudo\/artigos-tecnicos\/gerenciamento-de-redes-fcaps-snmp-configuracao-desempenho-seguranca\/\">Network Management based on FCAPS and SNMP<\/a> extends the view to continuous operation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Testing Under Controlled Conditions<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The policy should be subjected to enough competing traffic to create controlled contention. Then measure whether the sensitive class maintains its expected objectives and whether the other classes continue receiving adequate service.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A policy that only works because the link never exceeds 20% utilization has not actually been validated as QoS; it simply has not encountered congestion.<\/p>\n\n\n\n\n<h2 class=\"wp-block-heading\">Modern QoS: L4S and NQB Show That \u201cPriority\u201d Is an Incomplete View<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Two recent developments help explain the current direction of the field.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">L4S: Low Latency With Scalable Congestion Control and ECN<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong>L4S \u2014 Low Latency, Low Loss and Scalable Throughput<\/strong> architecture, described in RFC 9330, aims to drastically reduce queueing delay by combining scalable congestion controls at endpoints, more frequent ECN signaling, and compatible AQM at the bottleneck.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The conceptual point is important: the RFC itself emphasizes that low latency does not arise simply because the network \u201cprioritizes\u201d a packet. It depends on sender congestion-control behavior and more precise congestion feedback, with network mechanisms that separate L4S traffic from Classic behavior.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">L4S does not replace DiffServ. They address related problems from different angles: DiffServ differentiates classes\/PHBs; L4S changes the relationship among queues, AQM, ECN, and congestion control.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">NQB: Low Queueing Without Reserving Capacity<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong>Non-Queue-Building PHB<\/strong>, RFC 9956, was standardized for smooth, low-rate, application-limited microflows that do not materially contribute to queue buildup.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">NQB provides a shallow queue separate from deep Best Effort, but <strong>it does not offer reserved bandwidth and should not receive forwarding preference above Default<\/strong>. Its benefit comes from isolation from queue-building flows, not from jumping the queue through priority.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This creates room for low-rate interactive applications, IoT, certain control flows, and other microflows that suffer from bufferbloat without consuming significant bandwidth. Like any PHB, adoption requires support from relevant nodes and a coherent marking and protection policy.<\/p>\n\n\n\n\n<h2 class=\"wp-block-heading\">Common Errors in QoS Designs<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Marking Everything as High Priority<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">When many applications receive the most privileged class, that class begins competing with itself. The network loses the ability to distinguish what actually requires low latency.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Copying a DSCP Table Without Analyzing Traffic<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Reference tables are useful but do not replace characterization. The same nominal application type can have completely different profiles depending on codec, resolution, architecture, and flow direction.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Configuring QoS Only in the Core<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Congestion often appears at output interfaces, access links, WAN, Wi-Fi, and aggregation points. A flawless policy in the core may be irrelevant if the bottleneck is at the edge.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Blindly Trusting Endpoint Marking<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">QoS is also a policy governing authorization to consume resources. Trust boundaries must be explicit.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Ignoring the Provider&#8217;s Contracted Rate<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A 1 Gb\/s interface connected to a 200 Mb\/s WAN service does not necessarily see the bottleneck where expected. Without shaping near the actual rate, the queue may form in the provider network, outside local control.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Confusing QoS With Capacity<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">QoS manages scarcity; it does not fix structural undersizing. If essential services continuously exceed available capacity, architecture and bandwidth must be reviewed.<\/p>\n\n\n\n\n<h2 class=\"wp-block-heading\">Final Considerations<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">QoS is a discipline of <strong>traffic engineering and queue management<\/strong>, not a priority button. A consistent design starts from application requirements, measures the network, defines a small number of classes, establishes trust boundaries, selects appropriate PHBs and queue mechanisms, conditions traffic where necessary, and validates results under real congestion.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">DiffServ and DSCP remain the foundation for scalable differentiation in IP networks; IEEE 802.1Q and IEEE 802.11 determine how that intent maps into Ethernet and Wi\u2011Fi domains; AQM and ECN address queue dynamics; IntServ\/RSVP explain the per-flow reservation alternative; and recent mechanisms such as L4S and NQB show that modern low latency increasingly depends less on a simplistic notion of \u201cmaximum priority.\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The goal is not to have packets with different numbers in the header. It is to obtain <strong>measurable, predictable, and documented behavior<\/strong> for services sharing the infrastructure.<\/p>\n\n\n\n<div class=\"wp-block-a3a-destaque\">\n<p class=\"wp-block-paragraph\">A QoS policy must be tested under controlled congestion. Correct marking without measurable queue behavior does not demonstrate Quality of Service.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In critical networks, design should convert latency, jitter, loss, and throughput requirements into configuration, commissioning, and monitoring criteria.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"\/servicos\/planejamento\/projeto-de-telecomunicacoes\/\">See How We Structure Network and Telecommunications Designs<\/a><\/p>\n<\/div>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>Technical references<\/summary>\n<p class=\"wp-block-paragraph\">[1] NICHOLS, K.; BLAKE, S.; BAKER, F.; BLACK, D.. RFC 2474 \u2014 Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers. 1998. Available at: <a href=\"https:\/\/www.rfc-editor.org\/info\/rfc2474\/\">https:\/\/www.rfc-editor.org\/info\/rfc2474\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[2] BLAKE, S. et al.. RFC 2475 \u2014 An Architecture for Differentiated Services. 1998. Available at: <a href=\"https:\/\/www.rfc-editor.org\/info\/rfc2475\/\">https:\/\/www.rfc-editor.org\/info\/rfc2475\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[3] HEINANEN, J. et al.. RFC 2597 \u2014 Assured Forwarding PHB Group. 1999. Available at: <a href=\"https:\/\/www.rfc-editor.org\/info\/rfc2597\/\">https:\/\/www.rfc-editor.org\/info\/rfc2597\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[4] DAVIE, B. et al.. RFC 3246 \u2014 An Expedited Forwarding PHB (Per-Hop Behavior). 2002. Available at: <a href=\"https:\/\/www.rfc-editor.org\/info\/rfc3246\/\">https:\/\/www.rfc-editor.org\/info\/rfc3246\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[5] GROSSMAN, D.. RFC 3260 \u2014 New Terminology and Clarifications for Diffserv. 2002. Available at: <a href=\"https:\/\/www.rfc-editor.org\/info\/rfc3260\/\">https:\/\/www.rfc-editor.org\/info\/rfc3260\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[6] BABIARZ, J.; CHAN, K.; BAKER, F.. RFC 4594 \u2014 Configuration Guidelines for DiffServ Service Classes. 2006. Available at: <a href=\"https:\/\/www.rfc-editor.org\/info\/rfc4594\/\">https:\/\/www.rfc-editor.org\/info\/rfc4594\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[7] HEINANEN, J.; GUERIN, R.. RFC 2697 \u2014 A Single Rate Three Color Marker. 1999. Available at: <a href=\"https:\/\/www.rfc-editor.org\/info\/rfc2697\/\">https:\/\/www.rfc-editor.org\/info\/rfc2697\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[8] HEINANEN, J.; GUERIN, R.. RFC 2698 \u2014 A Two Rate Three Color Marker. 1999. Available at: <a href=\"https:\/\/www.rfc-editor.org\/info\/rfc2698\/\">https:\/\/www.rfc-editor.org\/info\/rfc2698\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[9] RAMAKRISHNAN, K.; FLOYD, S.; BLACK, D.. RFC 3168 \u2014 The Addition of Explicit Congestion Notification (ECN) to IP. 2001. Available at: <a href=\"https:\/\/www.rfc-editor.org\/info\/rfc3168\/\">https:\/\/www.rfc-editor.org\/info\/rfc3168\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[10] BAKER, F.; FAIRHURST, G.. RFC 7567 \/ BCP 197 \u2014 IETF Recommendations Regarding Active Queue Management. 2015. Available at: <a href=\"https:\/\/www.rfc-editor.org\/info\/rfc7567\/\">https:\/\/www.rfc-editor.org\/info\/rfc7567\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[11] NICHOLS, K. et al.. RFC 8289 \u2014 Controlled Delay Active Queue Management. 2018. Available at: <a href=\"https:\/\/www.rfc-editor.org\/info\/rfc8289\/\">https:\/\/www.rfc-editor.org\/info\/rfc8289\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[12] HOILAND-JORGENSEN, T. et al.. RFC 8290 \u2014 The Flow Queue CoDel Packet Scheduler and Active Queue Management Algorithm. 2018. Available at: <a href=\"https:\/\/www.rfc-editor.org\/info\/rfc8290\/\">https:\/\/www.rfc-editor.org\/info\/rfc8290\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[13] SARKAR, S. et al.. RFC 8325 \u2014 Mapping Diffserv to IEEE 802.11. 2018. Available at: <a href=\"https:\/\/www.rfc-editor.org\/info\/rfc8325\/\">https:\/\/www.rfc-editor.org\/info\/rfc8325\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[14] BLESS, R.. RFC 8622 \u2014 A Lower-Effort Per-Hop Behavior (LE PHB) for Differentiated Services. 2019. Available at: <a href=\"https:\/\/www.rfc-editor.org\/info\/rfc8622\/\">https:\/\/www.rfc-editor.org\/info\/rfc8622\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[15] BRISCOE, B. et al.. RFC 9330 \u2014 Low Latency, Low Loss, and Scalable Throughput (L4S) Internet Service: Architecture. 2023. Available at: <a href=\"https:\/\/www.rfc-editor.org\/info\/rfc9330\/\">https:\/\/www.rfc-editor.org\/info\/rfc9330\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[16] WHITE, G.; FOSSATI, T.; GEIB, R.. RFC 9956 \u2014 A Non-Queue-Building Per-Hop Behavior (NQB PHB) for Differentiated Services. 2026. Available at: <a href=\"https:\/\/www.rfc-editor.org\/info\/rfc9956\/\">https:\/\/www.rfc-editor.org\/info\/rfc9956\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[17] BRADEN, R.; CLARK, D.; SHENKER, S.. RFC 1633 \u2014 Integrated Services in the Internet Architecture: an Overview. 1994. Available at: <a href=\"https:\/\/www.rfc-editor.org\/info\/rfc1633\/\">https:\/\/www.rfc-editor.org\/info\/rfc1633\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[18] BRADEN, R. et al.. RFC 2205 \u2014 Resource ReSerVation Protocol (RSVP) \u2014 Version 1 Functional Specification. 1997. Available at: <a href=\"https:\/\/www.rfc-editor.org\/info\/rfc2205\/\">https:\/\/www.rfc-editor.org\/info\/rfc2205\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[19] IEEE. IEEE Std 802.1Q-2022 \u2014 IEEE Standard for Local and Metropolitan Area Networks \u2014 Bridges and Bridged Networks. 2022. Available at: <a href=\"https:\/\/standards.ieee.org\/ieee\/802.1Q\/10323\/\">https:\/\/standards.ieee.org\/ieee\/802.1Q\/10323\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[20] IEEE. IEEE Std 802.11-2024 \u2014 Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications. 2024. Available at: <a href=\"https:\/\/standards.ieee.org\/ieee\/802.11\/10548\/\">https:\/\/standards.ieee.org\/ieee\/802.11\/10548\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[21] ITU-T. Recommendation Y.1540 \u2014 Internet protocol data communication service \u2014 IP packet transfer and availability performance parameters. 2019. Available at: <a href=\"https:\/\/www.itu.int\/rec\/T-REC-Y.1540\/\">https:\/\/www.itu.int\/rec\/T-REC-Y.1540\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[22] ITU-T. Recommendation Y.1541 \u2014 Network performance objectives for IP-based services. 2011. Available at: <a href=\"https:\/\/www.itu.int\/rec\/T-REC-Y.1541\/\">https:\/\/www.itu.int\/rec\/T-REC-Y.1541\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[23] ITU-T. Recommendation G.114 \u2014 One-way transmission time. 2003. Available at: <a href=\"https:\/\/www.itu.int\/rec\/T-REC-G.114\/\">https:\/\/www.itu.int\/rec\/T-REC-G.114\/<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[24] OPPENHEIMER, P.. Top-Down Network Design. 3. ed. Indianapolis: Cisco Press. 2011.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[25] TANENBAUM, A. S.; WETHERALL, D. J.. Computer Networks. 5. ed. Boston: Pearson. 2011.<\/p>\n<\/details>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>Frequently asked questions<\/summary>\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-o-que-significa-qos-em-redes-99f06ce9\"><strong class=\"schema-faq-question\">What does QoS mean in networks?<\/strong> <p class=\"schema-faq-answer\">QoS means Quality of Service. It is the set of mechanisms used to classify and treat different traffic classes according to delay, jitter, loss, and throughput requirements.<\/p><\/div><div class=\"schema-faq-section\" id=\"faq-question-qos-aumenta-a-velocidade-da-internet-ou-da-rede-496d6804\"><strong class=\"schema-faq-question\">Does QoS increase Internet or network speed?<\/strong> <p class=\"schema-faq-answer\">No. QoS does not create capacity. It manages how existing capacity is shared during contention, potentially reducing delay or loss for certain classes at the cost of different treatment for others.<\/p><\/div><div class=\"schema-faq-section\" id=\"faq-question-dscp-uma-prioridade-d131dfe0\"><strong class=\"schema-faq-question\">Is DSCP a priority?<\/strong> <p class=\"schema-faq-answer\">Not universally. DSCP is a codepoint in the DS field of the IP header that selects an intended Per-Hop Behavior within a DiffServ domain. Treatment depends on the policy configured on network devices.<\/p><\/div><div class=\"schema-faq-section\" id=\"faq-question-qual-a-diferen-a-entre-shaping-e-policing-cf17ea04\"><strong class=\"schema-faq-question\">What is the difference between shaping and policing?<\/strong> <p class=\"schema-faq-answer\">Shaping holds packets in a queue to smooth the output rate; policing measures traffic against a profile and may remark or drop excess traffic. The former introduces controlled delay, while the latter limits resource use without creating the same waiting queue.<\/p><\/div><div class=\"schema-faq-section\" id=\"faq-question-qual-a-diferen-a-entre-ef-e-af-no-diffserv-2d4ba45e\"><strong class=\"schema-faq-question\">What is the difference between EF and AF in DiffServ?<\/strong> <p class=\"schema-faq-answer\">EF is a PHB used as a building block for low-delay, low-jitter, and low-loss services when the class is properly provisioned. AF defines four independent classes and three drop-precedence levels within each class, allowing different delivery probabilities under congestion.<\/p><\/div><div class=\"schema-faq-section\" id=\"faq-question-qos-deve-ser-configurado-para-todo-tr-fego-de-cf-971534d8\"><strong class=\"schema-faq-question\">Should all CCTV traffic be configured as maximum priority?<\/strong> <p class=\"schema-faq-answer\">No. Continuous recording, live view, PTZ, analytics, and export have different profiles. The design should separate flows and define treatment according to latency, loss, and throughput requirements, avoiding placing all video in a strict-priority queue.<\/p><\/div><div class=\"schema-faq-section\" id=\"faq-question-como-qos-funciona-no-wi-fi-4a13dadc\"><strong class=\"schema-faq-question\">How does QoS work on Wi-Fi?<\/strong> <p class=\"schema-faq-answer\">On Wi-Fi, in addition to device queues, there is contention for the radio medium. IEEE 802.11 uses Access Categories such as Voice, Video, Best Effort, and Background. Mapping between DSCP and these categories must be designed; RFC 8325 provides specific guidance.<\/p><\/div><div class=\"schema-faq-section\" id=\"faq-question-o-que-nqb-no-qos-moderno-22bc965f\"><strong class=\"schema-faq-question\">What is NQB in modern QoS?<\/strong> <p class=\"schema-faq-answer\">NQB is the Non-Queue-Building PHB standardized by RFC 9956 in 2026. It uses a separate shallow queue for smooth, low-rate microflows that do not build queues. It provides neither reserved bandwidth nor priority above Best Effort; the recommended DSCP is decimal 45.<\/p><\/div><div class=\"schema-faq-section\" id=\"faq-question-o-que-qos-end-to-end-6e1ebb26\"><strong class=\"schema-faq-question\">What is end-to-end QoS?<\/strong> <p class=\"schema-faq-answer\">It is the engineering of traffic treatment across all relevant domains, including LAN, Wi-Fi, WAN, tunnels, and provider networks. Isolated marking on a single device does not guarantee end-to-end performance.<\/p><\/div><\/div>\n<\/details>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>Additional technical materials<\/summary>\n<h4 class=\"wp-block-heading\">Related services<\/h4>\n\n<ul class=\"wp-block-list\"><li><a href=\"\/servicos\/planejamento\/projeto-de-rede-logica-e-redes-corporativas\/\">Logical and Corporate Network Design: architecture, redundancy, segmentation, and security<\/a><\/li><li><a href=\"\/servicos\/planejamento\/projeto-de-rede-wifi-corporativa\/\">Corporate Wi-Fi Network Design: coverage, capacity, roaming, and security<\/a><\/li><li><a href=\"\/servicos\/planejamento\/projeto-de-telefonia-ip-e-comunicacoes-unificadas\/\">IP Telephony and Unified Communications Design: SIP, numbering, QoS, and integration<\/a><\/li><\/ul>\n\n<h4 class=\"wp-block-heading\">Related solutions<\/h4>\n\n<ul class=\"wp-block-list\"><li><a href=\"\/solucoes\/engenharia-de-redes-e-telecomunicacoes\/redes-cisco\/\">Cisco Networks for Businesses and Industrial Environments<\/a><\/li><\/ul>\n\n<h4 class=\"wp-block-heading\">Main content on the topic<\/h4>\n\n<ul class=\"wp-block-list\"><li><a href=\"\/conteudo\/artigos-tecnicos\/projeto-de-rede-guia-de-implementacao-de-redes\/\">Network Design: stages, architecture, and technical documentation<\/a><\/li><li><a href=\"\/conteudo\/artigos-tecnicos\/arquitetura-e-topologia-de-rede-em-projetos-de-telecom\/\">Corporate Network Architecture: layers, models, and design criteria<\/a><\/li><li><a href=\"\/conteudo\/guias-tecnicos\/guia-completo-sobre-arquitetura-de-redes\/\">Complete Guide to Network Architecture: topologies, design, and infrastructure<\/a><\/li><\/ul>\n\n<h4 class=\"wp-block-heading\">Related technical content<\/h4>\n\n<ul class=\"wp-block-list\"><li><a href=\"\/conteudo\/artigos-tecnicos\/trafego-de-rede-fluxos-carga-broadcast-multicast-capacidade\/\">Network Traffic: flows, load, broadcast, multicast, and capacity<\/a><\/li><li><a href=\"\/conteudo\/artigos-tecnicos\/netflow-o-que-e-como-funciona-analisar-trafego-rede\/\">NetFlow: what it is, how it works, and how to analyze network traffic<\/a><\/li><li><a href=\"\/conteudo\/artigos-tecnicos\/gerenciamento-de-redes-fcaps-snmp-configuracao-desempenho-seguranca\/\">Network Management: FCAPS, SNMP, configuration, performance, and security<\/a><\/li><li><a href=\"\/conteudo\/artigos-tecnicos\/protocolo-rtp-o-que-e-transporte-audio-video-tempo-real\/\">RTP Protocol: what it is and how it transports real-time audio and video<\/a><\/li><li><a href=\"\/conteudo\/artigos-tecnicos\/protocolo-tcp-o-que-e-como-funciona-diferencas-udp\/\">TCP Protocol: what it is, how it works, and differences from UDP<\/a><\/li><li><a href=\"\/conteudo\/artigos-tecnicos\/protocolo-udp-o-que-e-como-funciona-quando-usar\/\">UDP Protocol: what it is, how it works, and when to use<\/a><\/li><\/ul>\n<\/details>\n","protected":false},"excerpt":{"rendered":"<p>Understand QoS in networks and how DSCP, DiffServ, queues, shaping, policing, AQM, Wi-Fi, L4S, and NQB determine Quality of Service.<\/p>\n","protected":false},"author":1,"featured_media":78559,"parent":0,"template":"","meta":{"_a3a_global_related_solutions":[],"_a3a_global_related_services":[],"_a3a_global_related_materials":[],"_a3a_post_lang":"en-us","_a3a_translation_group_id":"89469fbc-c0b1-40dd-a377-c0b3ab52d28d","_a3a_i18n_canonical_slug":"what-is-qos-quality-service-dscp-diffserv","_a3a_prod_post_id":"","_a3a_lang_url_en-us":"","_a3a_lang_url_es-es":""},"categories":[],"segments":[],"mercados":[],"etapas":[],"class_list":["post-82260","articles","type-articles","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/a3aengenharia.com\/en-us\/wp-json\/wp\/v2\/articles\/82260","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/a3aengenharia.com\/en-us\/wp-json\/wp\/v2\/articles"}],"about":[{"href":"https:\/\/a3aengenharia.com\/en-us\/wp-json\/wp\/v2\/types\/articles"}],"author":[{"embeddable":true,"href":"https:\/\/a3aengenharia.com\/en-us\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":17,"href":"https:\/\/a3aengenharia.com\/en-us\/wp-json\/wp\/v2\/articles\/82260\/revisions"}],"predecessor-version":[{"id":82294,"href":"https:\/\/a3aengenharia.com\/en-us\/wp-json\/wp\/v2\/articles\/82260\/revisions\/82294"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/a3aengenharia.com\/en-us\/wp-json\/wp\/v2\/media\/78559"}],"wp:attachment":[{"href":"https:\/\/a3aengenharia.com\/en-us\/wp-json\/wp\/v2\/media?parent=82260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/a3aengenharia.com\/en-us\/wp-json\/wp\/v2\/categories?post=82260"},{"taxonomy":"segments","embeddable":true,"href":"https:\/\/a3aengenharia.com\/en-us\/wp-json\/wp\/v2\/segments?post=82260"},{"taxonomy":"mercados","embeddable":true,"href":"https:\/\/a3aengenharia.com\/en-us\/wp-json\/wp\/v2\/mercados?post=82260"},{"taxonomy":"etapas","embeddable":true,"href":"https:\/\/a3aengenharia.com\/en-us\/wp-json\/wp\/v2\/etapas?post=82260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}