Specifications
2-417
Catalyst 4500 Se ries S wit ch C is co IO S C om mand R efer ence —Re lease I OS XE 3 .3.0 XO(1 5.1 (1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
police (two rates)
police (two rates)
To configure traffic policing using two rates, the committed information rate (CIR) and the peak
informat ion rate (P IR), use the police command in policy-map configuration mode. To remove two-rate
traffic policing from the configur ation, use the no form of this command.
police cir cir [bc co nform-burst] pir pir [be peak-burst] [ conform-action action [exce ed-a ct ion
action [violate-action a ction]]]
no police cir cir [bc conform-burst] pir pir [be peak- burst] [conform-acti on action [exceed-action
action [violate-action action]]]
Syntax Description
Command Default This command is disabled by default .
Command Modes Policy-map c onfiguration mode
cir Committed information rate (CIR) at which the first token bucket is updated.
cir Specifies the CIR value in bits per second. The value is a number from 32,000
to 32,000,000,000.
bc (Optiona l) Conform burst (bc) size used by th e first token buc ket for polic ing.
conform-burst (Optional) Specifies the bc value in bytes. The value is a number from 64 to
2,596,929,536.
pir Peak information rate (PIR) at which the second token bucket is updated.
pir Specifies the PIR value in bits per second. The value is a number from 32,000
to 32,000,000,000.
be (Optional) Peak burst (be) size used by the second token bucket for policing.
peak-burst (Optional) Specifies the peak burst (be) size in bytes. The value is a number
from 64 to 2,596,929,536.
conform- act ion (Optional) Action to take on packets that conform to the CIR and PIR.
exceed- acti on (Optional) Action to take on packets that conform to the PIR but not the CIR.
violate-action (Optional) Action to take on packets exceed the PIR.
action (Optional) Action to take on packets. Specify one of the following keywords:
• drop—D rops 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 co de
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.
• transmi t—Sends the packet with no alteration.