Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Configuring the Packet Action for the Policer Action (SRC CLI)

 

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:

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.

    • Filter—Packets are discarded.

    • Forwarding class—Packets are assigned to the forwarding class that you specify.

    • Loss priority—Packets are assigned the loss priority that you specify.

    • Parameter—The action specified by the parameter is applied. Before you assign a parameter, you must create a parameter of type packetOperation and commit the parameter configuration.

  3. (Optional) Verify the policer action configuration.