Service Manual

The basics for creating a CoPP service policy is to create QoS policies for the desired CPU bound queue and associate it with a
particular rate-limit. The QoS policies are assigned to a control-plane service policy for each port-pipe.
1. Create a QoS input policy for the router and assign the policing.
CONFIGURATION mode
qos-policy-input name cpu-qos
2. Create an input policy-map to assign the QoS policy to the desired service queues.l.
CONFIGURATION mode
policy-map--input name cpu-qos service-queue 0 qos-policy name
3. Enter Control Plane mode.
CONFIGURATION mode
control-plane-cpuqos
4. Assign a CPU queue-based service policy on the control plane in cpu-qos mode. Enabling this command sets the queue rates
according to those congured.
CONTROL-PLANE mode
service-policy rate-limit-cpu-queues name
Examples of Conguring CoPP for CPU Queues
The following example shows creating the QoS 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
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
CoPP for OSPFv3 Packets
You can create an IPv6 ACL for control-plane trac policing for OSPFv3, in addition to the CoPP support for VRRP, BGP, and ICMP.
You can use the ipv6 access-list name cpu-qos permit ospfv3 command to allow CoPP trac for OSPFv3. Control
Plane Policing (CoPP) enables more number of CPU queues to be made available on ports for IPv6 and ICMPv6 packets.
CoPP enhancements are to enhance the capability of FTOS by utilizing more number of CPU queues on CMIC port and sending
control packets to dierent queues that internally reduce limitation or contention of control protocols sharing the same queues (that
is, before this functionality of CoPP for OSPV3 was introduced, OSPF might have caused the LACP ap because of both control
trac sent to same Q7 on CPU port). Non CPU port should have only 4 dedicated control queues and remaining shared for both
data and trac. Number of control queues is increased on the CPU port. When tunneling packets from non-master to master unit,
high-gig queues are used.
230
Control Plane Policing (CoPP)