Reference Guide

pir peak-rate—Enter a peak-rate value in kbps (0 to 40000000).
be peak-burst-size—(Optional) Enter a peak burst size in kbps (16 to 200000, default 200).
4 (Optional) Congure trac policing for a specic queue in POLICY-MAP-CLASS-MAP mode. Queue number range is from 0 to 7 for
qos policy map and 0 to 11 for control-plane policy map.
set qos-group queue-number
5 Save the conguration.
do commit
Congure policy-based rate policy
OS10(config)# policy-map type qos galaxy
OS10(conf-pmap-qos)# class bigbang
OS10(conf-pmap-c-qos)# police cir 5 bc 30 pir 20 be 40
OS10(conf-pmap-c-qos)# do commit
Congure rate policing on specic queue
OS10(config)# policy-map bronze
OS10(conf-pmap-qos)# class silver
OS10(conf-pmap-c-qos)# set qos-group 7
OS10(conf-pmap-c-qos)# police cir 5 pir 30
OS10(conf-pmap-c-qos)# do commit
View policy-map
OS10(conf-pmap-c-qos)# do show policy-map
Service-policy (qos) input: galaxy
Class-map (qos): bigbang
police cir 5 bc 30 pir 20 be 40
Service-policy (qos) input: bronze
Class-map (qos): silver
police cir 5 bc 100 pir 30 be 100
Control-plane policing
Control-plane policing (CoPP) increases security on the system by protecting the route processor from unnecessary trac and giving
priority to important control plane and management trac. CoPP uses a dedicated control plane conguration through the QoS CLIs to
provide ltering and rate-limiting capabilities for the control plane packets.
If the rate of control packets towards the CPU is higher than it can handle, CoPP provides a method to selectively drops some of the
control trac so the CPU can process high-priority control trac. You can use CoPP to rate-limit trac through each CPU port queue of
the NPU.
CoPP applies policy actions on all control-plane trac. The control-plane class map does not use any match criteria. To enforce rate-limiting
or rate policing on control-plane trac, create policy maps. You can use the control-plane command to attach the CoPP service
policies directly to the control-plane.
The default rate limits apply to 12 CPU queues and the protocols mapped to each CPU queue. The control packet type to CPU ports
control queue assignment is xed. The only way you can limit the trac towards the CPU is choose a low priority queue, and apply rate-
limits on that queue to nd a high rate of control trac owing through that queue.
See show control-plane info for specic information on protocols and rate limits of CPU queues.
Quality of service
461