Reference Guide

Control Plane Policing (CoPP) | 273
Matching QoS Class Map to QoS Policy
Dell(conf)#policy-map-input egressFP_rate_policy cpu-qos
Dell(conf-policy-map-in-cpuqos)#class-map class_ospf qos-policy rate_limit_500k
Dell(conf-policy-map-in-cpuqos)#class-map class_bgp qos-policy rate_limit_400k
Dell(conf-policy-map-in-cpuqos)#class-map class_lacp qos-policy rate_limit_200k
Dell(conf-policy-map-in-cpuqos)#class-map class-ipv6 qos-policy rate_limit_200k
Dell(conf-policy-map-in-cpuqos)#exit
Creating Control Plane Service Policy
Dell(conf)#control-plane-cpuqos
Dell(conf-control-cpuqos)#service-policy rate-limit-protocols egressFP_rate_policy
Dell(conf-control-cpuqos)#exit
Configuring CoPP for CPU queues
Controlling traffic on the CPU queues does not require ACL rules, but does require QoS policies.
CoPP for CPU queues converts the input rate from kbps to pps, assuming 64 bytes is the average packet
size, and applies that rate to the corresponding queue. Consequently, 1 kbps is roughly equivalent to 2 pps.
The basics for creating a CoPP service policy is to create QoS policies for the desired CPU bound queue
and associate it with a particular rate-limit. The QoS policies are assigned to a control-plane service policy
for each port-pipe.
Sample Config for CoPP CPU queue configuration
Creating QoS Policy
Dell#conf
Dell(conf)#qos-policy-input cpuq_1
Dell(conf-qos-policy-in)#rate-police 3000 40 peak 500 40
Dell(conf-qos-policy-in)#exit
Step Task Command Syntax Command Mode
1 Create a QoS input policy for the
router and assign the policing.
qos-policy-input name cpu-qos
CONFIGURATION
2 Create an input policy-map to assign
the QoS policy to the desired service
queues.l.
policy-map--input name cpu-qos
service-queue 0 qos-policy name
CONFIGURATION
3 Enter Control Plane mode.
control-plane-cpuqos
CONFIGURATION
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 configured.
service-policy
rate-limit-cpu-queues name
CONTROL-PLANE