Users Guide

Table Of Contents
Queue Protocols Minimum rate limit
(in pps)
Maximum rate
limit (in pps)
Minimum
guaranteed buer
(in bytes)
Static shared limit
(in bytes)
16 IPv4 DHCP, IPv6 DHCP 500 500 1664 48880
17 VRRP 600 1000 1664 48880
18 BFD 700 700 1664 48880
19 Remote CPS 700 1000 1664 48880
20 MCAST data 300 300 1664 20800
21 ACL logging 100 100 1664 20800
22 MCAST known data 300 300 1664 20800
For information about the current protocol to queue mapping and the rate-limit congured per queue, see show control-plane info.
Congure control-plane policing
Rate-limiting the protocol CPU queues requires conguring control-plane type QoS policies.
Create QoS policies, class maps and policy maps, for the desired CPU-bound queue.
Associate the QoS policy with a particular rate-limit.
Assign the QoS service policy to control plane queues.
By default, the peak information rate (pir) and committed information rate (cir) values are in packets per second (pps) for control plane.
CoPP for CPU queues converts the input rate from kilobits per second (kbps) to packets per second (pps), assuming 64 bytes is the
average packet size, and applies that rate to the corresponding queue – One kbps is roughly equivalent to two pps.
1 Create a control-plane type class-map and congure a name for the class-map in CONFIGURATION mode.
class-map type control-plane example-copp-class-map-name
2 Return to CONFIGURATION mode.
exit
3 Create an input policy-map to assign the QoS policy to the desired service queues in CONFIGURATION mode.
policy-map type control-plane example-copp-policy-map-name
4 Associate a policy-map with a class-map in POLICY-MAP mode.
class example-copp-class-map-name
5 Congure marking for a specic queue number in POLICY-MAP-CLASS-MAP mode. Use the show control-plane info
command to view the list of control-plane queues.
set qos-group queue-number
6 Congure rate policing on incoming trac in POLICY-MAP-CLASS-MAP mode.
police {cir committed-rate | pir peak-rate}
cir committed-rate—Enter a committed rate value in pps, from 0 to 4000000.
pir peak rate — Enter a peak-rate value in pps, from 0 to 40000000.
Create QoS policy for CoPP
OS10(config)# class-map type control-plane example-copp-class-map-name
OS10(config-cmap-control-plane)# exit
OS10(config)# policy-map type control-plane example-copp-policy-map-name
OS10(config-pmap-control-plane)# class example-copp-class-map-name
1124
Quality of service