2-354
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
police cir percent
police cir percent
Use the police cir percent policy-map class configuration command to configure a traffic policer that
uses two rates, the committed information rate (CIR) and the peak information rate (PIR), and is based
on a percentage of bandwidth available on an enhanced-services (ES) port. Use the no form of this
command to remove the traffic policer configuration.
police cir percent percent [bc conform-burst ms] | pir percent percent [be peak-burst ms]
[conform-action action [exceed-action action [violate-action action]]]
no police cir percent percent [bc conform-burst ms] | pir percent percent [be peak-burst ms]
[conform-action action [exceed-action action [violate-action action]]]
Syntax Description
Defaults No policers are defined.
If no action is specified, the default conform-action is transmit, the default exceed-action is drop, and
the default violate-action is drop.
percent Percentage of the available bandwidth assigned to the parent class. This value
is used for calculating the CIR (the rate at which the first token bucket for
policing is updated). The range is from 1 to 99.
bc conform-burst ms (Optional) Conform burst size used by the first token bucket for policing. The
range is 1 to 128 ms.
pir percent percent Percentage of the available bandwidth assigned to the parent class. This value
is used for calculating the PIR (the rate at which the second token bucket for
policing is updated). The range is 1 to 99.
be peak-burst ms (Optional) Peak burst size used by the second token bucket. The range is 1 to
128 ms.
conform-action (Optional) Action to perform on packets that conform to the CIR and PIR.
exceed-action (Optional) Action to perform on packets that conform to the PIR but not the
CIR.
violate-action (Optional) Action to perform on packets that exceed the PIR.
action (Optional) Action to perform on packets. The keywords have these meanings:
• drop—drop the packet.
• set-cos-transmit new-cos—set the class of service (CoS) value to a new
value and send the packet. The range is 0 to 7.
• set-dscp-transmit new-dscp—set the IP Differentiated Services Code
Point (DSCP) value to a new value and send the packet. The range is 0 to
63. You also can enter a mnemonic name for a commonly used value.
• set-mpls-exp-transmit new-exp—set the multiprotocol label switching
(MPLS) experimental bits and send the packet. The range is 0 to 7.
• set-prec-transmit new-prec—set the IP precedence value to a new value
and send the packet. The range is 0 to 7.
• transmit—send the packet without altering it.