dropped 0 packets;
Clearing the CoPP Statistics
SUMMARY STEPS
1.
(Optional) switch#
show policy-map interface control-plane
2.
switch#
clear copp statistics
DETAILED STEPS
Purpose
Command or Action
Displays the currently applied CoPP policy and per-class
statistics.
(Optional) switch#
show policy-map interface
control-plane
Step 1
Clears the CoPP statistics.
switch#
clear copp statistics
Step 2
Example
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
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
489
Configuring Control Plane Policing
Clearing the CoPP Statistics