Use it when control-plane traffic lands in the wrong CoPP class or is dropped.
Classification · Control Plane Policing — CoPP
CoPP classification uses class-maps (usually ACLs) to group control-plane traffic such as routing protocols, management, ICMP and unknown traffic so each group can get its own rate limit.
1. CoPP classification separates control-plane traffic (routing, management, monitoring, undesirable).
2. Use ACLs per class.
3. Critical routing traffic must not be policed too hard.
4. Start with platform defaults.
5. Monitor drops per class.
traffic to CPU → class-map → class
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show policy-map control-planeShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
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.
- Classify by protocol and trust boundary, then police at sustainable rates
- Conform/exceed counters must be interpreted with CPU and service health
- Hardware forwarding traffic is different from packets punted to CPU
- Defaults and platform-specific control-plane paths require validation.
show policy-map control-plane— classes and countersshow class-map— CoPP classes
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 classification: system-defined classes map punted traffic to CPU queues
On Catalyst 9300, traffic sent to the CPU is classified into system-defined classes. Each class is associated with CPU queues and a hardware policer. The IOS XE 17.3 CoPP guide states that only the system-cpp-policy policy map can be installed on the control plane. The policy and its system classes cannot be modified or deleted, and user-defined class maps are not supported since IOS XE 16.8.1a.
C9300# show policy-map system-cpp-policy | include Class-map
Class-map: system-cpp-police-data (match-any)
Class-map: system-cpp-police-routing-control (match-any)
Class-map: system-cpp-police-control-low-priority (match-any)
Class-map: system-cpp-police-protocol-snooping (match-any)
Class-map: system-cpp-police-dhcp-snooping (match-any)
Class-map: system-cpp-police-sys-data (match-any)
Class-map: system-cpp-police-forus (match-any)
Class-map: system-cpp-police-l2-control (match-any)
Class-map: system-cpp-default (match-any)
C9300# show platform hardware fed switch active qos queue stats internal cpu policer
Typical class contents
| Class (examples) | Traffic |
|---|---|
routing-control | OSPF, EIGRP, BGP, BFD, HSRP/VRRP |
l2-control | STP BPDUs, LACP, CDP, LLDP, UDLD |
protocol-snooping | IGMP snooping, ARP inspection |
dhcp-snooping | DHCP with snooping enabled |
forus | Management traffic to the switch (SSH, SNMP, ping) |
sys-data | Exceptions such as TTL expiry, ICMP unreachables |
system-cpp-default | Anything not otherwise classified |
Exact class names and their mapping vary by release. Use the output on your switch as the reference.
Reading the per-queue statistics
The qos queue stats internal cpu policer output lists each CPU queue with its policer index, rate and drop count. Rising drops in one queue tell you which kind of traffic is hitting the CPU.
Why classification matters for troubleshooting
| Symptom | Likely class |
|---|---|
| OSPF or BGP adjacencies flap under load | routing-control drops |
| DHCP clients fail on a busy VLAN | dhcp-snooping drops |
| Slow SSH and SNMP during an incident | forus drops |
| High CPU with TTL-expired traffic | sys-data: a routing loop or traceroutes |
Documented example, not captured output.
Quick reference
Control Plane Policing (CoPP) protects a router's or switch's CPU from being overwhelmed. The first step is classification: sorting traffic that reaches the CPU into groups such as routing protocols, management, monitoring and unwanted traffic, so each group can be given its own limit. Getting the classes right is crucial, because a class that is too strict can drop routing updates and cause an outage.
CoPP classification uses class-maps matching control-plane traffic categories:
ip access-list extended COPP-ROUTING
permit ospf any any
permit tcp any any eq bgp
permit tcp any eq bgp any
ip access-list extended COPP-MGMT
permit tcp 10.255.0.0 0.0.255.255 any eq 22
permit udp 10.255.0.0 0.0.255.255 any eq snmp
class-map match-any COPP-ROUTING
match access-group name COPP-ROUTING
class-map match-any COPP-MGMT
match access-group name COPP-MGMT
Typical classes: routing protocols (highest priority), management, network services (DHCP, NTP), monitoring (ICMP), undesirable (explicit drop), default (everything else, tight rate).
ReferenceConfiguration & state1 section · depth on demand
Classification example
ip access-list extended COPP-ROUTING
permit ospf any any
permit tcp any any eq bgp
permit tcp any eq bgp any
ip access-list extended COPP-MGMT
permit tcp 10.99.0.0 0.0.0.255 any eq 22
permit udp 10.99.0.0 0.0.0.255 any eq snmp
class-map match-all COPP-ROUTING
match access-group name COPP-ROUTING
class-map match-all COPP-MGMT
match access-group name COPP-MGMT
Documented example, not captured output. Put critical traffic (routing, management) in its own classes so it is never policed with bulk traffic.
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 → Classification. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc2475.html · confidence 94%