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

# 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 policer and JUNOS 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 name {
  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. For example, in this procedure, pa is the name of the policer action.
   `
   user@host# edit policies group junos list firewallFilterPolicer rule pr policer pa
   `
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 pa]
   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 pa]
   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 pa]
   user@host# set burst burst
   `
5. (Optional) Enter a description for the policer action.
   `
   [edit policies group junos list firewallFilterPolicer rule pr policer pa]
   user@host# set description description
   `
6. (Optional) Verify the policer action configuration.

       [edit policies group junos list firewallFilterPolicer rule pr policer pa]
       user@host# show
       bandwidth-limit 1048576;
       bandwidth-limit-unit bps;
       burst 15000;

#### Related Topics

- Before You Configure SRC Policies
- Configuring the Packet Action for the Policer Action (SRC CLI)
- Configuring Policer Actions (C-Web Interface)
- Parameter Types

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