Pcornel
Networking · Security › Control Plane Policing — CoPP

Policing

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

Back to the Topic

Answer

Policing limits a traffic class to a configured rate: traffic within the rate conforms and is transmitted, traffic above it exceeds and is dropped or re-marked. It does not buffer, unlike shaping.

Remember

police <bps> conform-action transmit exceed-action drop (or police rate <pps> pps on some platforms). Policing causes TCP to retransmit; shaping delays instead. Burst size matters for bursty protocols.

First checks

  • show policy-map control-plane — classes, rates, conformed and exceeded packets.
  • show running-config | section control-plane — policy applied.
  • show platform hardware qfp active feature qos interface control-plane / show policy-map system-cpp-policy — platform CoPP on IOS XE.
  • show processes cpu sorted — CPU load and top processes.

Commands

show processes cpu sorted
show running-config
show policy-map system-cpp-policy
show policy-map control-plane

Verify in this order

control-plane traffic classified → each class policed at its rate → conforming traffic reaches the CPU → excess dropped → CPU stays usable under attack

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

Confirmation

Confirm action

Continue?