Pcornel
Networking · IP Services › QoS

Shaping

Cheat sheet · https://pcornel.dk/topic.php?topic=1252

Back to the Topic

Answer

Shaping buffers traffic that exceeds a configured rate and sends it later, smoothing bursts to match a slower provider rate (for example a 100 Mbps circuit on a 1 Gbps port).

Remember

  • Shaping buffers excess traffic to send it at a set rate.
  • It smooths bursts but adds delay.
  • Commonly used outbound to match a provider's contracted rate.

First checks

  • show policy-map interface <interface> — shape rate, queue
  • shape average <bps> under class-default with child policy — config

Commands

show policy-map interface Gi0/0/0 output
show policy-map interface … output

Verify in this order

traffic → shaper → buffered at rate → provider

Where it usually breaks

packet selector → class match → marking → policy attachment → queue/policer/shaper → egress counters/drops → receiver behavior

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1252

Confirmation

Confirm action

Continue?