Administrator Guide

To configure control-plane policing, perform the following:
1. Create an IPv6 ACL for control-plane traffic policing for ospfv3.
CONFIGURATION mode
Dell(conf)#ipv6 access-list ospfv3 cpu-qos
Dell(conf-ipv6-acl-cpuqos)#permit ospf
2. Create a QoS input policy for the router and assign the policing.
CONFIGURATION mode
Dell(conf)#qos-policy-input ospfv3_rate cpu-qos
Dell(conf-in-qos-policy-cpuqos)#rate-police 1500 16 peak 1500 16
3. Create a QoS class map to differentiate the control-plane traffic and assign to the ACL.
CONFIGURATION mode
Dell(conf)#class-map match-any ospfv3 cpu-qos
Dell(conf-class-map-cpuqos)#match ipv6 access-group ospfv3
4. Create a QoS input policy map to match to the class-map and qos-policy for each desired protocol.
CONFIGURATION mode
Dell(conf)#policy-map-input ospfv3_policy cpu-qos
Dell(conf-policy-map-in-cpuqos)#class-map ospfv3 qos-policy ospfv3_rate
5. Enter Control Plane mode.
CONFIGURATION mode
Dell(conf)#control-plane-cpuqos
6. Assign the protocol based service policy on the control plane. Enabling this command on a port-pipe
automatically enables the ACL and QoS rules created with the cpu-qos keyword.
CONTROL-PLANE mode
Dell(conf-control-cpuqos)#service-policy rate-limit-protocols ospfv3_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
246
Control Plane Policing (CoPP)