Purpose
Command or Action
switch(config-pmap)# class ClassMapA
switch(config-pmap-c)#
Specifies the committed information rate (CIR). The rate
range is as follows:
Enter one of the following commands:
Step 4
•
police
[
cir
] {
cir-rate
[
rate-type
]}
• 0 to 268435456 pps (for Cisco Nexus 9300 and 9500
Series and 3164Q, 31128PQ, 3232C, and 3264Q
switches)
•
police
[
cir
] {
cir-rate
[
rate-type
]} [
bc
]
burst-size
[
burst-size-type
]
•
police
[
cir
] {
cir-rate
[
rate-type
]]}
conform transmit
[
violate drop
]
• 0 to 80000000000 bps/gbps/kbps/mbps (for Cisco
Nexus 9200 Series switches)
Example:
switch(config-pmap-c)# police cir 52000 bc 1000
packets
The CIR rate range starts with 0. In previous
releases, the CIR rate range starts with 1. A
value of 0 drops the packet.
Note
Example:
switch(config-pmap-c)# police cir 3400 kbps bc
200 kbytes
The committed burst (BC) range is as follows:
• 1 to 1073741 packets (for Cisco Nexus 9300 and 9500
Series and 3164Q, 31128PQ, 3232C, and 3264Q
switches)
• 1 to 512000000 bytes/kbytes/mbytes (for Cisco Nexus
9200 Series switches)
The
conform transmit
action transmits the packet.
You can specify the BC and conform action for
the same CIR.
Note
Specifies the threshold value for dropped packets and
generates a syslog if the drop count exceeds the configured
(Optional)
logging drop threshold
[
drop-count
[
level
syslog-level
]]
Step 5
threshold. The range for the
drop-count
argument is from
Example:
1 to 8000000000 bytes. The range for the
syslog-level
argument is from 1 to 7, and the default level is 4.
switch(config-pmap-c)# logging drop threshold 100
Specifies the 802.1Q class of service (CoS) value. The
range is from 0 to 7. The default value is 0.
(Optional)
set cos cos-value
Example:
Step 6
switch(config-pmap-c)# set cos 1
Exits policy map class configuration mode.
exit
Example:
Step 7
switch(config-pmap-c)# exit
switch(config-pmap)#
Exits policy map configuration mode.
exit
Example:
Step 8
switch(config-pmap)# exit
switch(config)#
Displays the control plane policy map configuration.
(Optional)
show policy-map type control-plane
[
expand
]
[
name class-map-name
]
Step 9
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
476
Configuring Control Plane Policing
Configuring a Control Plane Policy Map