Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Policer Bandwidth and Burst-Size Limits

Table 1 lists each of the Junos OS policer types supported. For each policer type, the table summarizes the bandwidth limits and burst-size limits used to rate-limit traffic.

Table 1: Policer Bandwidth Limits and Burst-Size Limits

Policer Type

Bandwidth Limits

Burst-Size Limits

Single-Rate Two-Color Policer

Defines a single rate limit: a bandwidth limit and an allowed burst size for conforming traffic.

For a single-rate two-color policer only, you can specify the bandwidth limit as a percentage value from 1 through 100 instead of as an absolute number of bits per second. The effective bandwidth limit is calculated as a percentage of either the physical interface media rate or the logical interface configured shaping rate.

bandwidth-limit bps

burst-size-limit bytes;

bandwidth-percent

1..100 percent

Single-Rate Three-Color Policer

Defines a single rate limit: a bandwidth limit and an allowed burst size for conforming traffic.

Also defines a second, larger burst size. This second burst size is used to differentiate between two categories of nonconforming traffic (yellow or red).

committed-information-rate bps

committed-burst-size bytes;

excess-burst-size bytes

Two-Rate Three-Color Policer

Defines a committed rate limit: a bandwidth limit and an allowed burst size for conforming traffic.

Also defines a peak rate limit: a second, larger burst size and a second, higher bandwidth limit. These additional rate-limit components are used to differentiate between two categories of nonconforming traffic (yellow or red).

committed-information-rate bps;

committed-burst-size bytes

peak-information-rate bps;

peak-burst-size bytes;

Hierarchical Policer

Defines two policers, each with a bandwidth limit and an allowed burst size for conforming traffic. Different policing actions are applied based on whether the packets are classified for expedited forwarding (EF) or for a lower priority.

Rate-limits ingress Layer 2 traffic at a SONET physical or logical interface hosted on supported routing platforms only.

bandwidth-limit bps;

burst-size-limit bytes;

Platform-Specific Behavior

Use Feature Explorer to confirm platform and release support for specific features.

Use the following tables to review platform-specific behavior for your platform:

Platform

Difference

MX Series routers:

Single-Rate Two-Color Police - bandwidth-limit bps - 8000..18446744073709551615

Single-Rate Two-Color Police - burst-size-limit bytes - 1500..10000000000

Single-Rate Three-Color Policer - committed-information-rate bps - 8000..18446744073709551615

Single-Rate Three-Color Policer - committed-information-rate bps - 8000..18446744073709551615

Single-Rate Three-Color Policer - committed-burst-size bytes - 1500..100000000000

Single-Rate Three-Color Policer - excess-burst-size bytes - 1500..100000000000

Two-Rate Three-Color Policer - committed-information-rate bps - 8000..18446744073709551615

Two-Rate Three-Color Policer - peak-informaton-rate bps - 8000..18446744073709551615

Two-Rate Three-Color Policer - committed-burst-size bps - 1500..100000000000

Two-Rate Three-Color Policer - peak-burst-size bytes - 1500..100000000000

Hierarchical Policer - bandwidth-limit bps - 8000..18446744073709551615

EX Series

On some platforms such as EX2300, packets with smaller frame size create additional headers which results in more traffic. For calculating bandwidth of incoming traffic, these platforms consider packet data and packet headers. The additional headers plus data can cause the traffic rate to exceed the configured policer bandwidth-limit and cause drops. So ensure to take into consideration this additional header traffic when configuring policer bandwidth-limit and burst-size-limit for such platforms.