Use it in CoPP to cap traffic to the CPU per class, and on interfaces to enforce a contract rate.
Policing · Control Plane Policing — CoPP
1. show policy-map control-plane (or show policy-map interface <if>) — conform vs exceed counters.
2. Exceed increasing for legitimate traffic → rate or burst too low.
3. Identify the traffic in the class: show access-lists <class-acl>.
4. Adjust police rate and burst.
5. Read the counters again after a few minutes.
control-plane traffic classified → each class policed at its rate → conforming traffic reaches the CPU → excess dropped → CPU stays usable under attack
Context & applicabilityCommon mistakes · platform/version boundaries
- Rates too low for routing protocols during convergence, causing adjacency drops.
- Management class too restrictive, locking admins out during an incident.
- Forgetting IPv6 control traffic.
- Applying a custom policy on platforms that already have
system-cpp-policywithout understanding the defaults.
Operational reference
Fast context before you go deeper.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
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.
ReferenceWhy it matters1 section · depth on demand
When to use it
Use it to protect CPU while reserving enough capacity for legitimate convergence, first-hop, management and exception traffic.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
CoPP policing: per-class rate limits in packets per second
The Catalyst 9300 IOS XE 17.3 guide states that the only action allowed in CoPP is police, with rates in pps. Rates are set per system class with police rate <rate> pps under policy-map system-cpp-policy and rounded to the nearest multiple of 200. no police rate disables a queue's policer, which the guide advises against because it can harm system health under heavy CPU traffic. cpp system-default restores the default rates for all classes.
C9300# show policy-map control-plane class system-cpp-police-dhcp-snooping
Control Plane
Service-policy input: system-cpp-policy
Class-map: system-cpp-police-dhcp-snooping (match-any)
police:
rate 400 pps, burst 97 packets
conformed 9182311 bytes; actions:
transmit
exceeded 1123302 bytes; actions:
drop
C9300(config)# policy-map system-cpp-policy
C9300(config-pmap)# class system-cpp-police-dhcp-snooping
C9300(config-pmap-c)# police rate 1000 pps
C9300(config-pmap-c)# end
C9300# show policy-map system-cpp-policy | section dhcp-snooping
When to raise a rate
| Situation | Evidence needed |
|---|---|
| Many DHCP clients at once (shift start, AP reboot) | Exceeded counters rise only at those times, and clients fail |
| Large Layer 2 domains with many control frames | Drops in l2-control without a loop |
| Many routing neighbours | Drops in routing-control with adjacency problems |
When not to raise a rate
| Situation | Better action |
|---|---|
| Drops during an attack or a loop | Fix the source; CoPP is protecting the CPU |
Drops in system-cpp-default | Find out what the unclassified traffic is first |
Drops in sys-data from TTL expiry | Fix the routing loop |
Change practice
- Change one class at a time, by a moderate amount, and watch CPU (
show processes cpu sorted) and drop counters afterwards. - Document the reason. The guide notes that
show running-configomits classes left at default, so a changed rate stands out and should be explained. - Re-check after upgrades. Default rates can change between releases.
Documented example, not captured output.
Quick reference
Once traffic is classified, CoPP applies a rate limit to each class. Important traffic like routing protocols gets generous limits or none, while traffic such as ICMP gets strict ones. The safe way to introduce CoPP is to start by only measuring, learn the normal rates, and then enforce limits that leave headroom for peak conditions.
CoPP policing applies rates per class to the control-plane:
policy-map COPP
class COPP-ROUTING
police rate 2000 pps conform-action transmit exceed-action transmit
class COPP-MGMT
police rate 500 pps conform-action transmit exceed-action drop
class COPP-UNDESIRABLE
police rate 10 pps conform-action drop exceed-action drop
class class-default
police rate 100 pps conform-action transmit exceed-action drop
control-plane
service-policy input COPP
show policy-map control-plane
Start in monitor mode (exceed transmit) to learn baselines, then enforce. Catalyst 9000 switches ship with a default system CoPP policy (show policy-map system-cpp-policy) that you tune rather than replace.
ReferenceConfiguration & state1 section · depth on demand
Policing example
policy-map COPP
class COPP-ROUTING
police 512000 conform-action transmit exceed-action transmit
class COPP-MGMT
police 256000 conform-action transmit exceed-action drop
class class-default
police 64000 conform-action transmit exceed-action drop
control-plane
service-policy input COPP
Documented example, not captured output. show policy-map control-plane shows conformed and exceeded packets per class; increasing exceed counters on a critical class mean the rate is too low.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Security → Control Plane Policing — CoPP → Policing. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc2475.html · confidence 94%