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 Types of Actions for Rate-Limit Actions (SRC CLI)

    When you configure a rate-limit action or a rate-limit hierarchy, you specify types of actions for conformed traffic, committed traffic, and exceed traffic.

    Before you configure the various types of action, configure the rate limit or parent group (for rate-limit hierarchies) that is to include the actions. See

    Use the following configuration statements to configure rate-limit actions from the following hierarchy levels:

    • [edit policies group name list name rule name]
    • [edit policies group name list name parent-group name]
    rate-limit {committed-action filtercommitted-action forwardcommitted-action forward-conditional committed-action forward-finalcommitted-action forward-unconditional committed-action mark mark-info {value value;mask mask;}committed-action parameter {action action;}conformed-action filterconformed-action forwardconformed-action forward-conditional conformed-action forward-finalconformed-action forward-unconditional conformed-action mark mark-info {value value;mask mask;}conformed-action parameter {action action;}exceed-action filterexceed-action forwardexceed-action forward-conditional exceed-action forward-finalexceed-action forward-unconditional exceed-action mark mark-info {value value;mask mask;}exceed-action parameter {action action;}}

    To specify types of actions for rate-limit actions:

    • Specify an action for a rate-limit action or a rate-limit hierarchy:

      Note: The following examples show the configuration for a committed action. You can configure the same actions for committed actions, conformed actions, and exceed actions.

      • Filter (drop packet).
        [edit policies group junose list rate-limiter rule pr rate-limit]user@host# set committed-action filter
      • Forward.
        [edit policies group parentGroupDefault list twoRate parent-group PGShared rate-limit]user@host# set committed-action forward
      • (For rate-limit hierarchies only) Forward conditionally.
        [edit policies group parentGroupDefault list twoRate parent-group PGShared rate-limit]user@host# set committed-action forward-conditional
      • (Rate-limit hierarchies only for committed and conformed actions) Forward unconditionally.
        [edit policies group parentGroupDefault list twoRate parent-group PGShared rate-limit]user@host# set committed-action forward-unconditional
      • (For rate-limit hierarchies only) Forward and exit from the rate-limit hierarchy.
        [edit policies group parentGroupDefault list twoRate parent-group PGShared rate-limit]user@host# set committed-action forward-final
      • Mark. If you select mark, enter the mark values.
        [edit policies group junose list rate-limiter rule pr rate-limit]user@host# edit committed-action mark mark-info [edit policies group junose list rate-limiter rule pr rate-limit committed-action mark mark-info]user@host# set value value [edit policies group junose list rate-limiter rule pr rate-limit committed-action mark mark-info]user@host# set mask mask

        Make sure that masks configured with a rate limit action are the same for different mark actions.

      • Parameter. Before you assign a parameter, you must create a parameter of type packetOperation and commit the parameter configuration.
        [edit policies group junose list rate-limiter rule pr rate-limit committed-action]user@host# set committed-action parameter action action
     
     

    Modified: 2016-12-29