Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

policer

Syntax

Hierarchy Level

Description

Configure policer rate limits and actions. To activate a policer, you must include the policer action modifier in the then statement in a firewall filter term.

Each policer that you configure includes an implicit counter that counts the number of packets that exceed the rate limits that are specified for the policer. If you use the same policer in multiple terms—either within the same filter or across filters—the policer’s implicit counter is used to count packets that are policed in all of these terms. If you want to obtain separate packet counts for each term, use these approaches:

  • Configure a unique policer for each term.

  • Configure only one policer, but use a unique, explicit counter in each term.

Options

policer-name—Name that identifies the policer. The name can contain letters, numbers, hyphens (-), and can be up to 64 characters long.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

firewall—To view this statement in the configuration.firewall-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 11.1.