Administrator Guide
service-policy rate-limit-cpu-queues name
Example of Creating the QoS Policy
Example of Assigning the QoS Policy to the Queues
Example of Creating the Control Plane Service Policy
Dell#conf
Dell(conf)#qos-policy-input cpuq_1
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
Dell(conf-qos-policy-in)#rate-police 5000 80 peak 600 50
Dell(conf-qos-policy-in)#exit
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
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
Example of Viewing Queue Mapping
Example of Viewing Queue Mapping for MAC Protocols
Example of Viewing Queue Mapping for IPv6 Protocols
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#
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 _
Control Plane Policing (CoPP) 273