DETAILED STEPS
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
Step 1
switch# configure terminal
switch(config)#
Enters control plane configuration mode.
control-plane
Example:
Step 2
switch(config)# control-plane
switch(config-cp)#
Specifies a policy map for the input traffic. Repeat this step
if you have more than one policy map.
[
no
]
service-policy input policy-map-name
Example:
Step 3
You cannot disable CoPP. If you enter the
no
form of this
command, packets are rate limited at 50 packets per seconds.
switch(config-cp)# service-policy input PolicyMapA
Exits control plane configuration mode.
exit
Example:
Step 4
switch(config-cp)# exit
switch(config)#
Displays the CoPP configuration.
(Optional)
show running-config copp
[
all
]
Example:
Step 5
switch(config)# show running-config copp
Copies the running configuration to the startup
configuration.
(Optional)
copy running-config startup-config
Example:
Step 6
switch(config)# copy running-config startup-config
Related Topics
Configuring a Control Plane Policy Map
, on page 475
Configuring the CoPP Scale Factor Per Line Card
You can configure the CoPP scale factor per line card.
The scale factor configuration is used to scale the policer rate of the applied CoPP policy for a particular line
card. The accepted value is from 0.10 to 2.00. You can increase or reduce the policer rate for a particular line
card without changing the current CoPP policy. The changes are effective immediately, so you do not need
to reapply the CoPP policy.
SUMMARY STEPS
1.
configure terminal
2.
control-plane
3.
scale-factor value module multiple-module-range
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
478
Configuring Control Plane Policing
Configuring the CoPP Scale Factor Per Line Card