See the following sections:
- policer {
- input policer-name;
- output policer-name;
- }
- [edit interfaces interface-name unit logical-unit-number family family],
- [edit logical-routers logical-router-name interfaces interface-name unit logical-unit-number family family]
Apply a rate policer to an interface.
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.
See Classifying Packets Based on Various Packet Header Fields, Setting the PLP with a Multifield Classifier, and Configuring Strict-High Priority on J-series Platforms; for a general discussion of this statement, see the JUNOS Network Interfaces Configuration Guide.
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
- policer policer-name {
-
logical-bandwidth-policer;
-
-
if-exceeding {
- bandwidth-limit rate;
- bandwidth-percent number;
- burst-size-limit bytes;
- }
-
- then {
-
policer-action;
- }
- }
- [edit firewall]
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.
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.
See Classifying Packets Based on Various Packet Header Fields, Setting the PLP with a Multifield Classifier, and Configuring Strict-High Priority on J-series Platforms; for a general discussion of this statement, see the JUNOS Policy Framework Configuration Guide.
firewall—To view this statement in the configuration.
firewall-control—To add this statement to the configuration.
filter (Configuring), priority (Schedulers)