three-color-policer (Configuring)
Syntax
- three-color-policer policer-name {
-
- action {
- loss-priority high then discard;
- }
- logical-interface-policer;
-
- single-rate {
- (color-aware | color-blind);
- committed-information-rate bps;
- committed-burst-size bytes;
- excess-burst-size bytes;
- }
-
- two-rate {
- (color-aware | color-blind);
- committed-information-rate bps;
- committed-burst-size bytes;
- peak-information-rate bps;
- peak-burst-size bytes;
- }
- }
Hierarchy Level
Release Information
Statement introduced before JUNOS Release 7.4.
action statement introduced in JUNOS Release 8.2.
Logical systems support introduced in JUNOS Release 9.3.
Description
Configure a tricolor marking policer.
Options
-
color-aware—Metering varies by preclassification. Metering can increase a packet's assigned PLP, but cannot decrease it.
-
color-blind—Packet preclassification is ignored. All packets are evaluated by the CBS. If a packet exceeds the CBS, it is evaluated by the EBS.
-
committed-burst-size bytes—Maximum bytes allowed for incoming packets to be marked green.
- Range: 1500 through 100,000,000,000 bytes
-
committed-information-rate bps—Guaranteed bandwidth under normal line conditions, and the average rate up to which packets are marked green.
- Range: 32,000 through 40,000,000,000 bps
-
excess-burst-size bytes—Maximum bytes allowed for incoming packets. Packets that exceed the EBS are marked red.
- Range: 1500 through 100,000,000,000 bytes
-
peak-burst-size bytes—Maximum bytes allowed for incoming packets to burst above the PIR, but still be marked yellow.
- Range: 1500 through 100,000,000,000 bytes
-
peak-information-rate bps—Maximum achievable rate. Packets that exceed the CIR but are below the PIR are marked yellow. Packets that exceed the PIR are marked red.
- Range: 32,000 through 40,000,000,000 bps
-
single-rate—Marking is based on the CIR, CBS, and the EBS.
-
two-rate—Marking is based on the CIR and the PIR.
-
The remaining statements are explained separately.
Usage Guidelines
See Configuring Tricolor Marking.
Required Privilege Level
firewall—To view this statement in the configuration.
firewall-control—To add this statement to the configuration.

