
Configuring CoPP for Protocols
This section lists the commands necessary to create and enable the service-policies for CoPP.
For complete information about creating ACLs and QoS rules, refer to
.
The basics for creating a CoPP service policy are to create a Layer 2, Layer 3, and/or an IPv6 ACL rule for the desired protocol type.
Then, create a QoS input policy to rate-limit the protocol traffics according to the ACL. The ACL and QoS policies are finally assigned
to a control-plane service policy for each port-pipe.
1.
Create a Layer 2 extended ACL for control-plane traffic policing for a particular protocol.
CONFIGURATION mode
mac access-list extended
name
cpu-qos permit {arp | frrp | gvrp | isis | lacp | lldp |
stp}
2.
Create a Layer 3 extended ACL for control-plane traffic policing for a particular protocol.
CONFIGURATION mode
ip access-list extended
name
cpu-qos permit {bgp | dhcp | dhcp-relay | ftp | icmp | igmp
| msdp | ntp | ospf | pim | ip | ssh | telnet | vrrp}
3.
Create an IPv6 ACL for control-plane traffic policing for a particular protocol.
CONFIGURATION mode
ipv6 access-list
name
cpu-qos permit {bgp | icmp | vrrp}
4.
Create a QoS input policy for the router and assign the policing.
CONFIGURATION mode
qos-policy-input
name
cpu-qos rate-police
5.
Create a QoS class map to differentiate the control-plane traffic and assign to an ACL.
CONFIGURATION mode
class-map match-any
name
cpu-qos match {ip | mac | ipv6} access-group
name
6.
Create a QoS input policy map to match to the class-map and qos-policy for each desired protocol.
CONFIGURATION mode
policy-map-input
name
cpu-qos class-map
name
qos-policy
name
7.
Enter Control Plane mode.
CONFIGURATION mode
control-plane-cpuqos
8.
Assign the protocol based the service policy on the control plane. Enabling this command on a port-pipe automatically enables
the ACL and QoS rules creates with the
cpu-qos
keyword.
CONTROL-PLANE mode
service-policy rate-limit-protocols
Examples of Configuring CoPP for Different Protocols
The following example shows creating the IP/IPv6/MAC extended ACL.
Dell(conf)#ip access-list extended ospf cpu-qos
Dell(conf-ip-acl-cpuqos)#permit ospf
Dell(conf-ip-acl-cpuqos)#exit
Dell(conf)#ip access-list extended bgp cpu-qos
Dell(conf-ip-acl-cpuqos)#permit bgp
Dell(conf-ip-acl-cpuqos)#exit
Control Plane Policing (CoPP)
233
Содержание S4048-ON
Страница 1: ...Dell Configuration Guide for the S4048 ON System 9 9 0 0 ...
Страница 146: ...Figure 14 BFD Three Way Handshake State Changes 146 Bidirectional Forwarding Detection BFD ...
Страница 477: ...Figure 68 Inspecting Configuration of LAG 10 on ALPHA Link Aggregation Control Protocol LACP 477 ...
Страница 480: ...Figure 70 Inspecting a LAG Port on BRAVO Using the show interface Command 480 Link Aggregation Control Protocol LACP ...
Страница 481: ...Figure 71 Inspecting LAG 10 Using the show interfaces port channel Command Link Aggregation Control Protocol LACP 481 ...
Страница 522: ...Figure 87 Configuring Interfaces for MSDP 522 Multicast Source Discovery Protocol MSDP ...
Страница 523: ...Figure 88 Configuring OSPF and BGP for MSDP Multicast Source Discovery Protocol MSDP 523 ...
Страница 524: ...Figure 89 Configuring PIM in Multiple Routing Domains 524 Multicast Source Discovery Protocol MSDP ...
Страница 528: ...Figure 91 MSDP Default Peer Scenario 1 528 Multicast Source Discovery Protocol MSDP ...
Страница 529: ...Figure 92 MSDP Default Peer Scenario 2 Multicast Source Discovery Protocol MSDP 529 ...
Страница 530: ...Figure 93 MSDP Default Peer Scenario 3 530 Multicast Source Discovery Protocol MSDP ...
Страница 633: ...Policy based Routing PBR 633 ...
Страница 777: ...Figure 119 Single and Double Tag TPID Match Service Provider Bridging 777 ...
Страница 778: ...Figure 120 Single and Double Tag First byte TPID Match 778 Service Provider Bridging ...