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 {counter {counter-id counter-index;}filter-specific;if-exceeding {bandwidth-limit bps;bandwidth-percent percentburst-size-limit bytes;} then { policer-action;}}

Hierarchy Level

[edit firewall],[edit logical-systems logical-system-name firewall]

Release Information

Statement introduced before Junos OS Release 7.4.

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Logical systems support introduced in Junos OS Release 9.3.

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. Except for EX8200 switches, each policer that you configure includes an implicit counter. To obtain term-specific packet counts, configure a policer for each term in the filter that requires policing. For EX8200 switches, configure a policer and associate it with a global management counter using the counter option.

Options

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

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: 2012-12-07