Configuring A Control Plane Policy Map - Cisco Nexus 9000 Series Configuration Manual

Nx-os security configuration guide, release 9.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring Control Plane Policing

Configuring a Control Plane Policy Map

You must configure a policy map for CoPP, which includes policing parameters. If you do not configure a
policer for a class, the following default is configured:
• 50 packets per second (pps) with a burst of 32 packets (for Cisco Nexus 9300 and 9500 Series and 3164Q,
• 150 kilobits per second (kbps) with a burst of 32,000 bytes (for Cisco Nexus 9200 Series switches)
Before you begin
Ensure that you have configured a control plane class map.
SUMMARY STEPS
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
policy-map type control-plane policy-map-name
Example:
switch(config)# policy-map type control-plane
ClassMapA
switch(config-pmap)#
Step 3
class {class-map-name [insert-before class-map-name2]
| class-default}
Example:
31128PQ, 3232C, and 3264Q switches)
configure terminal
policy-map type control-plane policy-map-name
class {class-map-name [insert-before class-map-name2] | class-default}
Enter one of the following commands:
• police [cir] {cir-rate [rate-type]}
• police [cir] {cir-rate [rate-type]} [bc] burst-size [burst-size-type]
• police [cir] {cir-rate [rate-type]]} conform transmit [violate drop]
(Optional) logging drop threshold [drop-count [level syslog-level]]
(Optional) set cos cos-value
exit
exit
(Optional) show policy-map type control-plane [expand] [name class-map-name]
(Optional) copy running-config startup-config
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
Configuring a Control Plane Policy Map
Purpose
Enters global configuration mode.
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.
Specifies a control plane class map name or the class
default and enters control plane class configuration mode.
The class-default class map is always at the end of the
class map list for a policy map.
475

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents