Setup Guide
The following example shows creating the control plane service policy.
DellEMC#conf
DellEMC(conf)#control-plane
DellEMC(conf-control-plane)#service-policy rate-limit-cpu-queues cpuq_rate_policy
Protocol to CPU Queue Mapping
CoPP enables you to rate-limit control-plane packets that are destined to the CPU there by, preventing undesired or malicious trac from
entering the CPU queues. You can rate-limit CPU bound trac both on a per protocol as well as per queue basis.
When packets ingress through any of the front-end ports, the system identies the packets that are CPU bound based on the protocol
congurations. Packets bound to the CPU are also identied based on the packet-type such as ttl0, ttl1, and so on. These packets are then
re-directed to the CPU on predened CPU queues. This type of Control trac re-direction is achieved using ACLs or through the protocol-
to-queue table that is maintained in BCM.
The following table shows the default protocol to CPU queue mapping:
Table 15. Protocol to CPU Queue Mapping
CPU
Queu
e
Weig
ht
CPU Queue
Rate Shape
(PPS Rate)
Protocol
0 1 600 TTL0, TTL1, IP-OPTS,L2-SRC-MISS,L2-ACL-LOG,ICMP-REDIRECT
1 2 1000 SFLOW, L3-MTU-FAIL
2 4 300 MCAST, BCAST-CTRL
3 64 1300 BFD
4 127 2000 VLT
5 8 400 ARP-REQ,ICMP-RA, ICMP-NA,ISCSI
6 64 400 ARP-RSP, NTP, ICMP, ICMP-RS, ICMP-NS, FTP, TELNET, SSH, L3-LOCAL-TERM, DAI
7 64 400 xSTP, LACP, 802DOT1X, TRILL, L2PT, ECFM
8 64 600 LLDP, PVST, GVRP, FEFD, TRACEFLOW, FCoE
9 64 600 BGP, OSPF, IPV6-TUNNEL, IPV6-VRRP, RIP, ISIS
10 64 600 IPV4-VRRP, DHCP
11 64 300 MLD, PIM, MSDP
Conguring Protocol to CPU Queue Mapping
You can congure the mapping between CPU queues and the protocols that can be assigned to each CPU queue. This feature enables you
to optimize buer usage and control the security related aspects corresponding to the control trac.
To congure CPU bound control-plane trac to map to specic CPU queues:
1 Create a CPU protocol group.
CONFIGURATION
cpu-protocol-group group-name
A CPU protocol group is created and the command mode changes to CPU-PROTOCOL-GROUP mode.
2 Create a protocol list.
Control Plane Policing (CoPP)
275










