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

Configuring the Packet Action for the Policer Action

The packet action specifies the action taken on a packet that exceeds its rate limits. You configure packet actions within policer actions.

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 a packet action:

policies group name list name rule name policer name packet-action name ...
policies group name list name rule name policer name packet-action name forwarding-class {
forwarding-class forwarding-class ;
}
policies group name list name rule name policer name packet-action name loss-priority {
loss-priority loss-priority ;
}
policies group name list name rule name policer name packet-action name parameter {
action action ;
}

To configure a packet action:

  1. From configuration mode, enter the packet action configuration. For example, in this procedure, pktAction is the name of the packet action.
  2. (Optional) Configure the action to take on packets that exceed the bandwidth limit configured in the policer action.
  3. (Optional) Verify the policer action configuration.
    [edit policies group junos list firewallFilterPolicer rule pr policer pa packet-action pktAction parameter]
    user@host# show 
    packet-action pktAction {
      parameter {
        action PolicyParameterAction;
      }
    }
    bandwidth-limit 1048576;
    bandwidth-limit-unit bps;
    burst 15000;

Related Topics


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