See the following sections:
- three-color-policer {
- (single-rate | two-rate) policer-name;
- }
- [edit firewall family family-name filter filter-name term term-name then],
- [edit logical-systems logical-system-name firewall family family-name filter filter-name term term-name then]
Statement introduced in JUNOS Release 7.4.
single-rate statement added in JUNOS Release 8.2.
Logical systems support introduced in JUNOS Release 9.3.
For T-series and M320 platforms with Enhanced II Flexible PIC Concentrators (FPCs) and the T640 platform with Enhanced Scaling FPC4, apply a tricolor marking policer.
single-rate—Named tricolor policer is a single-rate policer.
two-rate—Named tricolor policer is a two-rate policer.
policer-name—Name of a tricolor policer.
See Configuring a Filter Action Statement.
firewall—To view this statement in the configuration.
firewall-control—To add this statement to the configuration.
- 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;
- }
- }
- [edit firewall],
- [edit logical-systems logical-system-name firewall]
Statement introduced in JUNOS Release 7.4.
action statement introduced in JUNOS Release 8.2.
Logical systems support introduced in JUNOS Release 9.3.
Configure a tricolor marking policer.
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.
committed-information-rate bps—Guaranteed bandwidth under normal line conditions, and the average rate up to which packets are marked green.
excess-burst-size bytes—Maximum bytes allowed for incoming packets. Packets that exceed the EBS are marked red.
peak-burst-size bytes—Maximum bytes allowed for incoming packets to burst above the PIR, but still be marked yellow.
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.
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.
See Configuring Tricolor Marking.
firewall—To view this statement in the configuration.
firewall-control—To add this statement to the configuration.