Control plane policing and protection

Control Plane Policing

Control Plane Protection

General information on “Control plane policing and protection (CoPP/CPPr)":

“CoPP/CPPr” CLI configuration commands:

## Defining an ACL for class-map matching:
Router(config)# [ip | ipv6] access-list [ACL NAME]

## Defining a class-map matching an ACL:
Router(config)# class-map [match-all | match-any] [NAME]
Router(config-cmap)# match access-group [ACL NAME]

## Defining a policy-map with traffic action (example: drop all traffic):
Router(config)# policy-map [NAME]
Router(config-pmap)# class [CLASS-MAP-NAME]
Router(config-pmap-c)# drop

## Applying the policy-map to the control-plane:
Router(config)# control-plane [host | transit | cef-exception]
Router(config-cp-host)# service-policy input [POLICY-MAP-NAME]

“CoPP/CPPr” CLI show commands:

## Showing currently configured CoPP/CPPr features
Router# show control-plane features