DETAILED STEPS
Purpose
Command or Action
Applies the CoPP best practice policy.
[
no
]
copp profile
[
strict
|
moderate
|
lenient
|
dense
]
Step 1
Example:
You cannot disable CoPP. If you enter the
no
form of this
command, packets are rate limited at 50 packets per seconds.
switch(config)# copp profile moderate
Displays the CoPP status, including the last configuration
operation and its status. This command also enables you to
(Optional)
show copp status
Example:
Step 2
verify that the CoPP best practice policy is attached to the
control plane.
switch(config)# show copp status
Displays the CoPP configuration in the running
configuration.
(Optional)
show running-config copp
Example:
Step 3
switch(config)# show running-config copp
Related Topics
Changing or Reapplying the Default CoPP Policy Using the Setup Utility
, on page 490
Copying the CoPP Best Practice Policy
The CoPP best practice policy is read-only. If you want to modify its configuration, you must copy it.
SUMMARY STEPS
1.
copp copy profile
{
strict
|
moderate
|
lenient
|
dense
} {
prefix
|
suffix
}
string
2.
(Optional)
show copp status
3.
(Optional)
show running-config copp
DETAILED STEPS
Purpose
Command or Action
Creates a copy of the CoPP best practice policy.
copp copy profile
{
strict
|
moderate
|
lenient
|
dense
}
{
prefix
|
suffix
}
string
Step 1
CoPP renames all class maps and policy maps with the
specified prefix or suffix.
Example:
switch# copp copy profile strict prefix abc
Displays the CoPP status, including the last configuration
operation and its status. This command also enables you to
(Optional)
show copp status
Example:
Step 2
verify that the copied policy is not attached to the control
plane.
switch# show copp status
Displays the CoPP configuration in the running
configuration, including the copied policy configuration.
(Optional)
show running-config copp
Example:
Step 3
switch# show running-config copp
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
480
Configuring Control Plane Policing
Copying the CoPP Best Practice Policy