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
class copp-system-p-class-critical
police cir 19000 pps bc 128 packets conform transmit violate drop
class copp-system-p-class-important
police cir 500 pps bc 128 packets conform transmit violate drop
class copp-system-p-class-normal
police cir 300 pps bc 32 packets conform transmit violate drop
class class-default
police cir 50 pps bc 32 packets conform transmit violate drop
control-plane
service-policy input copp-system-p-policy
Create CoPP class and associate ACL:
class-map type control-plane copp-arp-class
match access-group name copp-arp-acl
Add the class to the CoPP policy:
policy-map type control-plane copp-system-policy
class copp-arp-class
police pps 500
Changing or Reapplying the Default CoPP Policy Using the Setup Utility
The following example shows how to change or reapply the default CoPP policy using the setup utility.
switch#
setup
---- Basic System Configuration Dialog ----
This setup utility will guide you through the basic configuration of
the system. Setup configures only enough connectivity for management
of the system.
*Note: setup is mainly used for configuring the system initially,
when no configuration is present. So setup always assumes system
defaults and not the current system configuration values.
Press Enter at anytime to skip a dialog. Use ctrl-c at anytime
to skip the remaining dialogs.
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
490
Configuring Control Plane Policing
Changing or Reapplying the Default CoPP Policy Using the Setup Utility