Info
Control Plane Policing (Politica de vigilancia del plano de control) es un conjunto de reglas o politicas para proteger la CPU de trafico excesivo o malicioso en un Router
Cuidado
Funcionamiento
Se utilizan ACL Extendida Nombrada para identificar el trafico interesante mediante reglas “permit”, luego lo clasifica mediante Class-Map segun el tipo de trafico y se configura una Policy-Map para poder aplicar una tasa de velocidad.
Sintaxis Configuracion
ACL CoPP
ip access-list extended [acl-name]
permit [protocol] [source-ip] [source-wildcard] [dest-ip] [dest-wildcard] [port-operator] [port-number]
Class-map CoPP
class-map match-all [class-name]
match access-group name [acl-name]
Ejemplos
ACL PING
ip access-list extended ACL-CoPP-ICMP
permit icmp any any echo-reply
permit icmp any any ttl-exceeded
permit icmp any any unreachable
permit icmp any any echo
permit udp any any range 33434 33463 ttl eq 1
ACL IPsec
ip access-list extended ACL-CoPP-IPsec
permit esp any any
permit gre any any
permit udp any eq isakmp any eq isakmp
permit udp any any eq non500-isakmp
permit udp any eq non500-isakmp any
!
ip access-list extended ACL-CoPP-Initialize
permit udp any eq bootps any eq bootpc
!
ip access-list extended ACL-CoPP-Management
permit udp any any eq ntp any
permit udp any any eq snmp
permit tcp any any eq 22
permit tcp any eq 22 any established
!
ip access-list extended ACL-CoPP-Routing
permit tcp any eq bgp any established
permit eigrp any host 224.0.0.10
permit ospf any host 224.0.0.5
permit ospf any host 224.0.0.6
permit pim any host 224.0.0.13
permit igmp any any
Class-map
class-map match-all CLASS-CoPP-ICMP
match access-group name ACL-CoPP-ICMP