Administrator Guide

rate-police [rate-kbps] [burst-kbytes] peak [rate-kbps] [burst-kbytes]
2 Create an input policy-map to assign the QoS rate-limit policy to a control-plane queue.
CONFIGURATION mode
policy-map-input name cpu-qos
service-queue queue-number qos-policy name
On the switch, the range of queue-number values is from 0 to 20. The twenty-four control–plane queues are divided into groups of
seven queues for the Route Processor, Control Processor, and line-card CPUs as follows:
Queues 0 to 6 process packets destined to the Control Processor CPU.
Queues 7 to 13 process packets destined to the Route Processor CPU.
Queues 14 to 20 process packets destined to the line-card CPU.
For information about the default rate limits applied to the seven CPU queues for the Route Processor, Control Processor, and line
cards, refer to CoPP Implementation.
3 Enter Control Plane conguration mode.
CONFIGURATION mode
control-plane-cpuqos
4 Apply the QoS input policy-map with queue-based rate limiting on control plane trac.
CONTROL-PLANE mode
service-policy rate-limit-cpu-queues input-policy-map
Examples of Conguring CoPP for CPU Queues
Example of Creating a QoS Policy to Congure the Rate Limit
Dell#conf
Dell(conf)#qos-policy-input cpuq_1 cpu-qos
Dell(conf-qos-policy-in)#rate-police 3000 40 peak 500 40
Dell(conf-qos-policy-in)#exit
Dell(conf)#qos-policy-input cpuq_2 cpu-qos
Dell(conf-qos-policy-in)#rate-police 5000 80 peak 600 50
Dell(conf-qos-policy-in)#exit
Example of Assigning a QoS Policy to a CPU Queue
Dell(conf)#policy-map-input cpuq_rate_policy cpu-qos
Dell(conf-qos-policy-in)#service-queue 5 qos-policy cpuq_1
Dell(conf-qos-policy-in)#service-queue 6 qos-policy cpuq_2
Dell(conf-qos-policy-in)#service-queue 7 qos-policy cpuq_1
Example of Applying a Queue-Based Rate Limit to Control Plane Trac
Dell#conf
Dell(conf)#control-plane-cpuqos
Dell(conf-control-plane)#service-policy rate-limit-cpu-queues cpuq_rate_policy
Control Plane Policing (CoPP)
253