Deployment Guide

Table Of Contents
1. Create a QoS input policy for the router and assign the policing.
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 configured.
CONTROL-PLANE mode
service-policy rate-limit-cpu-queues input-policy-map
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 Configuration
The CLI provides show commands to display the protocol traffic 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.
To view the rates for each queue, use the show cpu-queue rate cp command.
Viewing Queue Rates
Example of Viewing Queue Rates
DellEMC#show cpu-queue rate cp
Service-Queue Rate (PPS)
-------------- -----------
Q0 1300
Q1 300
Q2 300
Q3 300
Q4 2000
Q5 400
Q6 400
Control Plane Policing (CoPP)
235