Reference Guide

Table Of Contents
cir committed-rate—Enter a committed rate value in pps (0 to 4000000).
pir peak rate — Enter a peak-rate value in pps (0 to 40000000).
Create QoS policy for CoPP
OS10(config)# class-map type control-plane copp
OS10(conf-cmap-control-plane)# exit
OS10(config)# policy-map type control-plane copp1
OS10(conf-pmap-control-plane)# class copp
OS10(conf-pmap-c)# set qos-group 2
OS10(conf-pmap-c)# police cir 100 pir 100
View policy-map
OS10(conf-pmap-c)# do show policy-map
Service-policy(control-plane) input: copp1
Class-map (control-plane): copp
set qos-group 2
police cir 100 bc 100 pir 100 be 100
Assign service-policy
Controlling trac and rate the protocol CPU queues requires conguring QoS policies. To enable CoPP, you need to apply the dened
policy-map to CONTROL-PLANE mode.
1 Enter CONTROL-PLANE mode from CONFIGURATION mode.
control-plane
2 Dene a service-policy of type input and congure a name for the service policy in CONTROL-PLANE mode.
service-policy input service-policy-name
Assign control-plane service-policy
OS10(config)# control-plane
OS10(conf-control-plane)# service-policy input copp1
View control-plane service-policy
OS10(conf-control-plane)# do show qos control-plane
Service-policy (input): copp1
View conguration
Use the show commands to display the protocol trac assigned to each control-plane queue and the current rate-limit applied to each
queue. You can also use the show command output to verify the CoPP conguration.
View CoPP conguration
OS10# show qos control-plane
Service-policy (input): pmap1
View CMAP1 conguration
OS10# show class-map type control-plane cmap1
Class-map (control-plane): cmap1 (match-any)
View CoPP service-policy
OS10# show policy-map type control-plane
Service-policy(control-plane) input: pmap1
Class-map (control-plane): cmap1
set qos-group 6
police cir 200 bc 100 pir 200 be 100
Quality of service
555