Configuring Policing
Configuring Policing
You can configure a single- or dual-rate policer.
Configuring 1-Rate and 2-Rate, 2-Color and 3-Color Policing
The type of policer created by the device is based on a combination of the police command arguments described
in the following Arguments to the police Command table.
Note
You must specify the identical value for pir and cir to configure 1-rate 3-color policing.
A 1-rate 2-color policer with the violate markdown action is not supported.
Note
Note
Cisco Nexus 9200 Series switches only support 1-rate 2-color policing.
Table 32: Arguments to the police Command
Argument
cir
percent
bc
pir
Cisco Nexus 9000 Series NX-OS Quality of Service Configuration Guide, Release 7.x
Description
Committed information rate, or desired bandwidth,
specified as a bit rate or a percentage of the link rate.
Although a value for cir is required, the argument
itself is optional. The range of values is from 1 to
80000000000. The range of policing values is from
8000 to 80 Gbps.
Rate as a percentage of the interface rate. The range
of values is from 1 to 100 percent.
Indication of how much the cir can be exceeded, either
as a bit rate or an amount of time at cir. The default
is 200 milliseconds of traffic at the configured rate.
The default data rate units are bytes.
Peak information rate, specified as a PIR bit rate or
a percentage of the link rate. There is no default. The
range of values is from 1 to 80000000000; the range
of policing values is from 8000 bps to 480 Gbps. The
range of percentage values is from 1 to 100 percent.
Configuring Policing
85