Pcornel
Networking · IP Services › QoS

Policing

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

Back to the Topic

Answer

Policing enforces a rate limit by dropping or re-marking traffic that exceeds it, without buffering; it is used inbound or to enforce contracts and does not delay conforming packets.

Remember

  • Policing limits traffic to a rate by dropping or remarking excess packets.
  • It does not buffer, so it can cause TCP retransmissions.
  • Often used inbound or by service providers.

First checks

  • show policy-map interface <interface> — conformed/exceeded/violated
  • police rate <bps> burst <bytes> — configuration

Commands

show policy-map interface Gi1/0/1 input

Verify in this order

traffic → token bucket → conform/exceed/violate actions

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=1251

Confirmation

Confirm action

Continue?