Clearing the CoPP Statistics
Procedure
Purpose
Command or Action
(Optional)
Displays the currently applied CoPP policy and
per-class statistics.
switch#
show policy-map interface
control-plane
Step 1
Clears the CoPP statistics.
switch#
clear copp statistics
Step 2
This example shows how to clear the CoPP statistics for your installation:
switch#
show policy-map interface control-plane
switch#
clear copp statistics
Configuration Examples for CoPP
This section includes example CoPP configurations.
CoPP Configuration Example
The following example shows how to configure CoPP using IP ACLs and MAC ACLs:
configure terminal
ip access-list copp-system-p-acl-igmp
permit igmp any 10.0.0.0/24
ip access-list copp-system-p-acl-msdp
permit tcp any any eq 639
mac access-list copp-system-p-acl-arp
permit any any 0x0806
ip access-list copp-system-p-acl-tacas
permit udp any any eq 49
ip access-list copp-system-p-acl-ntp
permit udp any 10.0.1.1/23 eq 123
ip access-list copp-system-p-acl-icmp
permit icmp any any
class-map type control-plane match-any copp-system-p-class-critical
match access-group name copp-system-p-acl-igmp
match access-group name copp-system-p-acl-msdp
class-map type control-plane match-any copp-system-p-class-normal
match access-group name copp-system-p-acl-icmp
match exception ip icmp redirect
match exception ip icmp unreachable
match exception ip option
policy-map type control-plane copp-system-p-policy
Cisco Nexus 3600 NX-OS Security Configuration Guide, Release 7.x
138
Configuring Control Plane Policing
Clearing the CoPP Statistics