Setup Guide

CONFIGURATION mode
qos-policy-input name cpu-qos
2 Create an input policy-map to assign the QoS policy to the desired service queues.l.
CONFIGURATION mode
policy-map--input name
cpu-qos service-queue queue-number qos-policy name
3 Enter Control Plane mode.
CONFIGURATION mode
control-plane-cpuqos
4 Assign a CPU queue-based service policy on the control plane in cpu-qos mode. Enabling this command sets the queue rates
according to those congured.
CONTROL-PLANE mode
service-policy rate-limit-cpu-queues input-policy-map
Examples of Conguring CoPP for CPU Queues
The following example shows creating the QoS policy.
DellEMC#conf
DellEMC(conf)#qos-policy-input cpuq_1
DellEMC(conf-qos-policy-in)#rate-police 3000 40 peak 500 40
DellEMC(conf-qos-policy-in)#exit
DellEMC(conf)#qos-policy-input cpuq_2
DellEMC(conf-qos-policy-in)#rate-police 5000 80 peak 600 50
DellEMC(conf-qos-policy-in)#exit
The following example shows assigning the QoS policy to the queues.
DellEMC(conf)#policy-map-input cpuq_rate_policy cpu-qos
DellEMC(conf-qos-policy-in)#service-queue 5 qos-policy cpuq_1
DellEMC(conf-qos-policy-in)#service-queue 6 qos-policy cpuq_2
DellEMC(conf-qos-policy-in)#service-queue 7 qos-policy cpuq_1
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
Displaying CoPP Conguration
The CLI provides show commands to display the protocol trac assigned to each control-plane queue and the current rate-limit applied to
each queue. Other show commands display statistical information for trouble shooting CoPP operation.
Viewing Queue Rates
Example of Viewing Queue Rates
Example of Viewing Queue Mapping
To view the queue mapping for each congured protocol, use the show ip protocol-queue-mapping command.
To view the queue mapping for the MAC protocols, use the show mac protocol-queue-mapping command.
234
Control Plane Policing (CoPP)