Default
Parameters
9 policy entries
The maximum number of supported policies with associated class
maps is 128.
Note
Default policy
1.00
Scale factor
value
Configuring CoPP
This section describes how to configure CoPP.
Configuring a Control Plane Class Map
You must configure control plane class maps for control plane policies.
You can classify traffic by matching packets based on existing ACLs. The permit and deny ACL keywords
are ignored in the matching.
You can configure policies for IP version 4 (IPv4) and IP version 6 (IPv6) packets.
Before you begin
Ensure that you have configured the IP ACLs if you want to use ACE hit counters in the class maps.
SUMMARY STEPS
1.
configure terminal
2.
class-map type control-plane
[
match-all
|
match-any
]
class-map-name
3.
(Optional)
match access-group name access-list-name
4.
(Optional)
match exception
{
ip
|
ipv6
}
icmp redirect
5.
(Optional)
match exception
{
ip
|
ipv6
}
icmp unreachable
6.
(Optional)
match exception
{
ip
|
ipv6
}
option
7.
match protocol arp
8.
exit
9.
(Optional)
show class-map type control-plane
[
class-map-name
]
10.
(Optional)
copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
Step 1
switch# configure terminal
switch(config)#
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
473
Configuring Control Plane Policing
Configuring CoPP