Reference Guide
CoPP applies policy actions on all control-plane trac. The control-plane class map does not use any match criteria. To enforce rate-limiting
or rate policing on control-plane trac, create policy maps. You can use the control-plane command to attach the CoPP service
policies directly to the control-plane.
The default rate limits apply to 12 CPU queues and the protocols mapped to each CPU queue. The control packet type to CPU ports
control queue assignment is xed. The only way you can limit the trac towards the CPU is choose a low priority queue, and apply rate-
limits on that queue to nd a high rate of control trac owing through that queue.
By default CoPP trac towards the CPU is classied into dierent queues as shown in the following table.
Table 11. CoPP queues
Queue Protocol
0 IPv6
1
2 IGMP
3 VLT, NDS
4 ICMPv6, ICMPv4
5 ARP Requet, ICMPV6-RS-NS, ISCSI snooping, ISCSI-COS
6 ICMPv6-RA-NA, SSH, TELNET,TACACS, NTP,FTP
7 RSTP,PVST, MSTP,LACP
8 Dot1X,LLDP, FCOE-FPORT
9 BGPv4, OSPFv6
10 DHCPv6, DHCPv4, VRRP
11 OSPF Hello, OpenFlow
See show control-plane info for information on the current protocol to queue mapping and the rate-limit congured per queue.
Congure control-plane policing
Rate-limiting the protocol CPU queues requires conguring control-plane type QoS policies.
• Create QoS policies (class maps and policy maps) for the desired CPU-bound queue.
• Associate the QoS policy with a particular rate-limit.
• Assign the QoS service policy to control plane queues.
By default, the peak information rate (pir) and committed information rate (cir) values are in packets per second (pps) for control plane.
CoPP for CPU queues converts the input rate from kilobits per second (kbps) to packets per second (pps), assuming 64 bytes is the
average packet size, and applies that rate to the corresponding queue – 1 kbps is roughly equivalent to 2 pps.
1 Create a class-map of type control-plane and congure a name for the class-map in CONFIGURATION mode.
class-map type control-plane class-map-name
2 Return to CONFIGURATION mode.
exit
Quality of service
559