the packets from being routed to the CPU at an undesired rate that might impact the performance of a switch
and the network. In addition, the CoPP protects the CPU from denial of service (DoS) attacks and ensures
routing stability, reachability, and packet delivery. You can use Multi-Layer Switching QoS CLI to set the
rate limit and policing parameters on a specific protocol.
CoPP is supported only on LAN BASE, IP Lite, and IP Service licenses.Note
Related Topics
Configuring Control Plane Policing, on page 1518
Examples: Configuring CoPP, on page 1520
Configuring Control Plane Policing
Configure the Control Plane Policing (CoPP) feature on a predefined set of protocols to control the flow of
traffic coming into the CPU.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
mls qos copp protocol { autorp-announce | autorp-discovery | bgp | cdp | cgmp | dai |
dhcp-snoop-client-to-server | dhcp-snoop-server-to-client | dhcpv6-client-to-server |
dhcpv6-server-to-client | eigrp | eigrp-v6 | energy-wise | igmp-gs-query | igmp-leave | igmp-query |
igmp-report | igrp | ipv6-pimv2 | lldp | mld-gs-query | mld-leave | mld-query | mld-report | ndp-redirect
| ndp-router-advertisement | ndp-router-solicitation | ospf | ospf-v6 | pimv1 | pxe | rep-hfl |
reserve-multicast-group | rip | rip-v6 | rsvp-snoop | stp } police {pps | bps} police rate
4.
end
5.
show mls qos copp protocols
6.
copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your
password if prompted.
enable
Example:
Switch> enable
Step 1
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1518
Configuring Control Plane Policing