Dell(conf-qos-policy-in)#rate-police 5000 80 peak 600 50
Dell(conf-qos-policy-in)#exit
The following example shows assigning the QoS policy to the queues.
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
The following example shows creating the control plane service policy.
Dell#conf
Dell(conf)#control-plane
Dell(conf-control-plane)#service-policy rate-limit-cpu-queues cpuq_rate_policy
Show Commands
The following section describes the CoPP show commands.
To view the rates for each queue, use the show cpu-queue rate cp command.
Example of Viewing Queue Rates
Dell#show cpu-queue rate cp
Service-Queue Rate (PPS)
-------------- -----------
Q0 1300
Q1 300
Q2 300
Q3 300
Q4 2000
Q5 400
Q6 400
Q7 1100
Dell#
Example of Viewing Queue Mapping
To view the queue mapping for each configured protocol, use the show ip protocol-queue-
mapping command.
Dell#show ip protocol-queue-mapping
Protocol Src-Port Dst-Port TcpFlag Queue EgPort Rate (kbps)
-------- -------- -------- ------- ----- ------ -----------
TCP (BGP) any/179 179/any _ Q6 CP 100
UDP (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 _
IGMP any any _ Q7 CP _
TCP (MSDP) any/639 639/any _ Q6 CP _
UDP (NTP) any 123 _ Q6 CP _
OSPF any any _ Q7 CP _
PIM any any _ Q7 CP _
UDP (RIP) any 520 _ Q7 CP _
TCP (SSH) any 22 _ Q6 CP _
TCP (TELNET) any 23 _ Q6 CP _
VRRP any any _ Q7 CP _
Dell#
244 Control Plane Policing (CoPP)