liveBook · Manning

Traffic-shaping algorithm

As explained in Acing the CCNA Exam: Volume 2 Advanced Networking and Security

Shaping is a quality-of-service technique that enforces a traffic rate limit by buffering excess traffic and transmitting it later at the permitted rate.

Traffic shaping is a QoS rate-limiting technique. It transmits conforming traffic immediately, buffers exceeding traffic in a separate shaping queue, and releases it later at the permitted rate. Unlike policing, which drops or re-marks excess traffic, shaping smooths the traffic flow. section 10.5 section 10.7

Key operational facts:

  • Configure shaping per class, so each traffic class and queue is handled separately, or per interface, applying it to all transmitted or received packets. section 10.5
  • Use shaping when a downstream provider polices traffic; buffering at the customer edge prevents packets from exceeding the provider’s permitted rate. section 10.5
  • Permit bursts when required: both policing and shaping can allow temporary traffic spikes above the configured average rate. section 10.5

300 Mbps customer connection

An ISP polices incoming customer traffic to 300 Mbps even though both routers use GigabitEthernet. The customer shapes outbound traffic to 300 Mbps, buffering excess packets instead of sending them at interface capacity and having them dropped by the ISP. section 10.5

How Acing the CCNA Exam: Volume 2 Advanced Networking and Security covers it

How deep it goes
Defines buffering, queues, conforming traffic, exceeding traffic, scope, and bursts, but provides no CLI syntax or verification output.
Examples
Uses a 300 Mbps ISP connection, GigabitEthernet interfaces, provider policing, and customer outbound shaping.
What it assumes
Assumes basic QoS, interfaces, queues, traffic rates, and congestion while defining conforming and exceeding traffic explicitly.
What you can do after
Apply shaping to smooth traffic and avoid drops caused by a downstream provider’s rate limit.
How it connects
Contrasts policing and connects with QoS, queuing, congestion, LLQ, CBWFQ, RED, WRED, and TCP global synchronization.

Also explained in

Compare how 2 books explain traffic-shaping algorithm →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 2 Advanced Networking and Security. The section links point to the parts of the book it draws on.