Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

policer

Syntax

policer policer-name {filter-specific;if-exceeding {bandwidth-limit bps;burst-size-limit bytes;}then {policer-action;}}

Hierarchy Level

[edit firewall]

Release Information

Statement introduced in Junos OS Release 11.1 for the QFX Series.

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.

Required Privilege Level

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

Published: 2014-07-23