PurposeCommand or Action
switch# configure terminal
switch(config)#
Configures the size of the egress CoPP TCAM region.
[no] hardware access-list tcam region erg-copp size
Example:
Step 2
switch(config)# hardware access-list tcam region
erg-copp 256
Copies the running configuration to the startup
configuration.
copy running-config startup-config
Example:
Step 3
switch(config)# copy running-config startup-config
Reloads the device.reload
Step 4
Example:
The new size values are effective only after you
enter copy running-config startup-config +
reload or reload all line card modules.
Note
switch(config)# reload
Enters global configuration mode.configure terminal
Example:
Step 5
switch# configure terminal
switch(config)#
mac access-list mac-foo-1
Step 6
Example:
switch# mac access-list mac-foo-1
switch(config-mac-acl)#
Specifies a control plane class map and enters class map
configuration mode. The default class matching is
class-map type control-plane [match-all | match-any]
class-map-name
Step 7
match-any. The name can be a maximum of 64 characters
long and is case sensitive.
Example:
switch(config)# class-map type control-plane
match-any c-map2
switch(config-cmap)#
(Optional) match access-group name access-list-name
Step 8
Example:
switch(config-cmap)# match access-group name
IP-foo-1
Specifies a control plane policy map and enters policy map
configuration mode. The policy map name can have a
maximum of 64 characters and is case sensitive.
policy-map type control-plane policy-map-name
Example:
switch(config)# policy-map type control-plane
ClassMapA
switch(config-pmap)#
Step 9
Specifies a control plane class map name or the class
default and enters control plane class configuration mode.
class {class-map-name [insert-before class-map-name2]
| class-default}
Step 10
Example:
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
482
Configuring Control Plane Policing
Configuring ARP ACL Filtering for CoPP