Policer Color-Marking and Actions

 

Table 1 lists each of the Junos OS policer types supported. For each policer type, the table summarizes the color-marking criteria used to categorize a traffic flow and, for each color, the actions taken on packets in that type of traffic flow.

Table 1: Implicit and Configurable Policer Actions Based on Color Marking

Policer Rate Limits and Color Marking

Implicit Action

Configurable Actions

Single-Rate Two-Color Policer
  • Bandwidth limit

  • Burst size

Green

Conforms to rate and burst size limits

Set PLP to low

Red

Exceeds rate and burst size limits

  • Discard the packet.

  • Assign to a forwarding class.

  • Set PLP to low or high.

    On some platforms, you can also set the PLP to medium-low or medium-high.

Single-Rate Three-Color Policer
  • Committed information rate (CIR)

  • Committed burst size (CBS)

  • Excess burst size (EBS)

Green

Conforms to the CIR and CBS

Set PLP to low

Yellow

Exceeds the CIR and CBS but

conforms to the EBS

Set PLP to medium-high

Red

Exceeds the EBS

Set PLP to high

  • Discard the packet.

Two-Rate Three-Color Policer
  • Committed information rate (CIR)

  • Committed burst size (CBS)

  • Peak information rate (PIR)

  • Peak burst size (PBS)

Green

Conforms to the CIR and CBS

Set PLP to low

Yellow

Exceeds the CIR and CBS, but

conforms to the PIR

Set PLP to medium-high

Red

Exceeds the PIR and PBS

Set PLP to high

  • Discard the packet.

Hierarchical Policer

Aggregate policer

  • Bandwidth limit

  • Burst size

Green

Conforms to rate limits

Set PLP to low

Red

Exceeds rate limits

  • Discard the packet.

  • Assign to a forwarding class.

  • Set PLP to low or high.

    On some platforms, you can also set the PLP to medium-low or medium-high.

Premium policer

  • Bandwidth limit

  • Burst size

Green

Conforms to rate limits

Set PLP to low

Red

Exceeds rate limits

  • Discard the packet.