Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring Policer Actions (SRC CLI)

    The policer action specifies rate and burst size limits and the action taken if a packet exceeds those limits. You can create policer actions in Junos OS policer and Junos OS filter policy rules.

    The type of action that you can create depends on the type of policy rule. See Policy Information Model.

    Use the following configuration statements to configure policer actions:

    policies group name list name rule name policer {bandwidth-limit bandwidth-limit ;bandwidth-limit-unit bandwidth-limit-unit ; burst burst ; description description ; }

    To configure a policer action:

    1. From configuration mode, enter the policer action configuration.
      user@host# edit policies group junos list firewallFilterPolicer rule pr policer
    2. (Optional) Configure the traffic rate that, if exceeded, causes the router to take the indicated packet action.
      [edit policies group junos list firewallFilterPolicer rule pr policer]user@host# set bandwidth-limit bandwidth-limit
    3. (Optional) Configure the type of value entered for bandwidth limit.
      [edit policies group junos list firewallFilterPolicer rule pr policer]user@host# set bandwidth-limit-unit bandwidth-limit-unit
    4. (Optional) Configure the maximum burst size. The minimum recommended value is the maximum transmission unit (MTU) of the IP packets being policed.
      [edit policies group junos list firewallFilterPolicer rule pr policer]user@host# set burst burst
    5. (Optional) Enter a description for the policer action.
      [edit policies group junos list firewallFilterPolicer rule pr policer]user@host# set description description
    6. (Optional) Verify the policer action configuration.
      [edit policies group junos list firewallFilterPolicer rule pr policer]
      user@host# show 
      bandwidth-limit 1048576;
      bandwidth-limit-unit bps;
      burst 15000;

    Modified: 2016-12-29