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 Traffic
Dell#conf
Dell(conf)#control-plane
Dell(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.
Viewing Queue Rates
To view the rates that are currently applied on each control-plane queue, use the show cpu-queue
rate [all | queue-id id | range from-queue to-queue] command.
Dell# show cpu-queue rate all
Service-Queue Rate (kbps) Burst (kb)
-------------- ----------- ----------
Q0 1000 1000
Q1 400 1000
Q2 1800 1000
Q3 1800 1000
Q4 2800 5000
Q5 300 2000
Q6 300 2000
Q7 3200 3000
Q8 400 1000
Q9 400 1000
Q10 1800 1000
Q11 1800 1000
Q12 2000 6000
Q13 5200 3000
Q14 1850 3000
Q15 12450 4000
Q16 1 100
Q17 1 100
Q18 1 100
Q19 1 100
Q20 600 1000
Q21 7000 7000
Q22 800 1000
Q23 5000 5000
Viewing MAC Protocol-Queue Mapping
To view the queues to which MAC protocol traffic is assigned, use the show mac protocol-queue-
mapping command.
Dell#show mac protocol-queue-mapping
Protocol Destination Mac EtherType Queue EgPort Rate
(kbps)
230
Control Plane Policing (CoPP)