[Contents] [Prev] [Next] [Index] [Report an Error]

policer

See the following sections:

policer (Applying to an Interface)

Syntax

policer {
input policer-name;
output policer-name;
}

Hierarchy Level

[edit interfaces interface-name unit logical-unit-number family family],
[edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number family family]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

Apply a rate policer to an interface.

Options

input policer-name—Name of one policer to evaluate when packets are received on the interface.

output policer-name—Name of one policer to evaluate when packets are transmitted on the interface.

Usage Guidelines

See Classifying Packets Based on Multiple Fields, Setting the PLP with a Multifield Classifier, and Default Schedulers; for a general discussion of this statement, see the JUNOS Network Interfaces Configuration Guide.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Related Topics

simple-filter

policer (Configuring)

Syntax

policer policer-name {
logical-bandwidth-policer;
if-exceeding {
bandwidth-limit rate;
bandwidth-percent number;
burst-size-limit bytes;
}
then {
policer-action;
}
}

Hierarchy Level

[edit firewall]

Release Information

Statement introduced before JUNOS Release 7.4.

The out-of-profile policer action added in JUNOS Release 8.1.

The logical-bandwidth-policer statement added in JUNOS Release 8.2.

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 or on an interface.

Options

policer-action—One or more actions to take:

policer-name—Name that identifies the policer. The name can contain letters, numbers, and hyphens (-), and can be up to 255 characters long. To include spaces in the name, enclose it in quotation marks (" ").

then—Actions to take on matching packets.

The remaining statements are explained separately.

Usage Guidelines

See Classifying Packets Based on Multiple Fields, Setting the PLP with a Multifield Classifier, and Default Schedulers; for a general discussion of this statement, see the JUNOS Policy Framework Configuration Guide.

Required Privilege Level

firewall—To view this statement in the configuration.

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

Related Topics

filter (Configuring), priority (Schedulers)


[Contents] [Prev] [Next] [Index] [Report an Error]