Examples of Configuring CoPP for CPU QueuesThe following example shows creating the QoS policy.Dell#confDell(conf)#qos-policy-input cpuq_1Dell(conf-qos-policy-in)#rate-police 3000 40 peak 500 40Dell(conf-qos-policy-in)#exitDell(conf)#qos-policy-input cpuq_2Dell(conf-qos-policy-in)#rate-police 5000 80 peak 600 50Dell(conf-qos-policy-in)#exitThe following example shows assigning the QoS policy to the queues.Dell(conf)#policy-map-input cpuq_rate_policy cpu-qosDell(conf-qos-policy-in)#service-queue 5 qos-policy cpuq_1Dell(conf-qos-policy-in)#service-queue 6 qos-policy cpuq_2Dell(conf-qos-policy-in)#service-queue 7 qos-policy cpuq_1The following example shows creating the control plane service policy.Dell#confDell(conf)#control-planeDell(conf-control-plane)#service-policy rate-limit-cpu-queues cpuq_rate_policyDisplaying CoPP ConfigurationThe CLI provides show commands to display the protocol traffic assigned to each control-plane queueand the current rate-limit applied to each queue. Other show commands display statistical informationfor trouble shooting CoPP operation.To view the rates for each queue, use the show cpu-queue rate cp command.Viewing Queue RatesExample of Viewing Queue RatesDell#show cpu-queue rate cpService-Queue Rate (PPS)-------------- -----------Q0 1300Q1 300Q2 300Q3 300Q4 2000Q5 400Q6 400Q7 1100Dell#Example of Viewing Queue MappingTo view the queue mapping for each configured protocol, use the show ip protocol-queue-mapping command.Dell#show ip protocol-queue-mappingProtocol Src-Port Dst-Port TcpFlag Queue EgPort Rate (kbps)-------- -------- -------- ------- ----- ------ -----------TCP (BGP) any/179 179/any _ Q6 CP 100UDP (DHCP) 67/68 68/67 _ Q6/Q5 CP _UDP (DHCP-R) 67 67 _ Q6 CP _TCP (FTP) any 21 _ Q6 CP _ICMP any any _ Q6 CP _Control Plane Policing (CoPP) 235