DGS-6604
m
police cir
CLI Reference Guide
493
police cir
To configure traffic policing using two rates, the committed information rate (CIR)
and the peak information rate (PIR), use the police cir command in policy-map
class configuration mode. To remove two-rate traffic policing from the
configuration, use the no form of this command
police cir
CIR
[bc
CONFORM-BURST
] pir
PIR
[be
PEAK-BURST
] [exceed-action
ACTION
[violate-action
ACTION
]]
no police cir
CIR
[bc
CONFORM-BURST
] pir
PIR
[be
PEAK-BURST
] [exceed-action
ACTION
[violate-action
ACTION
]]
Default
Disabled
exceed-action:
drop
Syntax Description
CIR
Specifies the committed information rate in bits per second. The committed
packet rate is the first token bucket for the two-rate metering.
min: 64KB max:32GB
PIR
Specifies the peak information rate in bits per second. The peak information rate
is the second token bucket for the two-rate metering.
min: 64KB max:32GB
CONFORM-BURST
Specifies the burst size for the first token bucket in bytes.
Valid values are project dependent.
min:4KB max:16MB default:4KB
PEAK-BURST
Specifies the burst size for the second token bucket in bytes.
Valid values are project dependent.
min:4KB max:16MB default:4KB
exceed-action
(Optional) Specifies the action to take for those packets that conform to PIR but
not to CIR. It is referred as yellow color traffic.
violate-action
(Optional) Specifies the action to take for those packets that did not conform to
both CIR and PIR. It is referred as red color traffic.
ACTION
The actions can be
drop
- Packets will be dropped.
set-dscp-transmit
VALUE - Sets the IP differentiated services code point
(DSCP) value and transmits the packet with the new IP DSCP value.
transmit
- Transmits the packet. The packet is not altered.