O'Reilly logo

Implementing Cisco Networking Solutions by Harpreet Singh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Shaping

Traffic shaping shapes the flow of traffic by reducing outbound flow traffic to avoid congestion. Traffic shaping constrains traffic to a particular bit rate using a token bucket mechanism.

While a policer simply enforces a rate limit, a shaper smoothens the traffic flow to a specified rate by the use of buffers. A shaper typically delays excess traffic using a buffer or queueing mechanism to hold packets and shape the flow when the data rate of the source is higher than expected. Traffic shaping and policing can work in tandem.

The following figure depicts the input traffic pattern and the output traffic after it passes a traffic shaper. The excess traffic that was dropped by the policer is held back in buffers, and is sent on the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required