2-351
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
police cir
police cir
Use the police cir policy-map class configuration command to configure a hierarchical traffic policer
that uses two rates, the committed information rate (CIR) and the peak information rate (PIR) on an
enhanced-services (ES) port. Use the no form of this command to remove the two-rate policer.
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]]]
Syntax Description
Defaults No policers are defined. The default conform burst size (bc) and peak burst size (be) is 8192 bytes.
If no action is specified, the default conform-action is transmit, the default exceed-action is drop, and
the default violate-action is drop.
Command Modes Policy-map class configuration
cir cir CIR at which the first token bucket is updated. The range is 64000 to
990000000 bps.
bc conform-burst (Optional) Conform burst size used by the first token bucket for policing. The
range is 1536 to 16776960 bytes.
pir pir PIR at which the second token bucket for policing is updated. The range is
64000 to 990000000 bps.
be peak-burst (Optional) Peak burst size used by the second token bucket. The range is 1536
to 16776960 bytes.
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.