Police (Two Rates) - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference release ios xe 3.4.0sg and ios 15.1(2)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches

police (two rates)

To configure traffic policing using two rates, the committed information rate (CIR) and the peak
information rate (PIR), use the police command in policy-map configuration mode. To remove two-rate
traffic policing from the configuration, use the no form of this command.
Syntax Description
cir
cir
bc
conform-burst
pir
pir
be
peak-burst
conform-action
exceed-action
violate-action
action
Command Default
This command is disabled by default.
Command Modes
Policy-map configuration mode
OL-27596 -01
police cir cir [bc conform-burst] pir pir [be peak-burst] [conform-action action [exceed-action
action [violate-action action]]]
no police cir cir [bc conform-burst] pir pir [be peak-burst] [conform-action action [exceed-action
action [violate-action action]]]
Committed information rate (CIR) at which the first token bucket is updated.
Specifies the CIR value in bits per second. The value is a number from 32,000
to 32,000,000,000.
(Optional) Conform burst (bc) size used by the first token bucket for policing.
(Optional) Specifies the bc value in bytes. The value is a number from 64 to
2,596,929,536.
Peak information rate (PIR) at which the second token bucket is updated.
Specifies the PIR value in bits per second. The value is a number from 32,000
to 32,000,000,000.
(Optional) Peak burst (be) size used by the second token bucket for policing.
(Optional) Specifies the peak burst (be) size in bytes. The value is a number
from 64 to 2,596,929,536.
(Optional) Action to take on packets that conform to the CIR and PIR.
(Optional) Action to take on packets that conform to the PIR but not the CIR.
(Optional) Action to take on packets exceed the PIR.
(Optional) Action to take on packets. Specify one of the following keywords:
drop—Drops the packet.
set-cos-transmit new-ios—Sets the class of services (CoS) value to a
new value and send the packet. The range is 0 to 7.
set-dscp-transmit new-dscp—Sets the IP differentiated services code
point (DSCP) value and sends the packet with the new IP DSCP value
setting.
set-prec-transmit new-prec—Sets the IP precedence and sends the
packet with the new IP precedence value setting.
transmit—Sends the packet with no alteration.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
police (two rates)
2-519

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents