> - Downloads
> - Configuring Rate-Limit Actions (SRC CLI)
> - Related Topics
> - Before You Configure SRC Policies
> - Configuring Rate-Limit Actions (C-Web Interface)
> - Configuring Filter Actions (SRC CLI)
> - Configuring Forward Actions (SRC CLI)
> - Configuring Mark Actions (SRC CLI)
> - Parameter Types

> # Configuring Rate-Limit Actions (SRC CLI)

> Use this action to define the quality of service. You can configure rate-limit actions for JUNOSe 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 rate-limit actions:

> `
> policies group name list name rule name rate-limit name {
>   type type ;
>   committed-rate committed-rate ;
>   committed-burst committed-burst ;
>   peak-rate peak-rate ;
>   peak-burst peak-burst ;
>   excess-burst excess-burst ;
>   color-aware;
>   support-hierarchical;
>   description description ;
> }
> `

> To configure a rate-limit action:

> 1. From configuration mode, enter the rate-limit action configuration. For example, in this procedure, rla is the name of the rate-limit action.
>    `
>    user@host# edit policies group junose list rate-limiter rule pr rate-limit rla
>    `
> 2. (Optional) Specify that the rate-limit profile is either one rate or two rate. The rate-limit type determines the options that you can configure for a rate-limit action.
>    `
>    [edit policies group junose list rate-limiter rule pr rate-limit rla]
>    user@host# set type type
>    `
> 3. (Optional) Configure the target rate for the traffic that the policy covers.
>    `
>    [edit policies group junose list rate-limiter rule pr rate-limit rla]
>    user@host# set committed-rate committed-rate
>    `
> 4. (Optional) Configure the amount of bandwidth allocated to burst traffic in bytes.
>    `
>    [edit policies group junose list rate-limiter rule pr rate-limit rla]
>    user@host# set committed-burst committed-burst
>    `
> 5. (Optional) For two-rate rate-limit profiles, specify the amount of bandwidth allocated to excess traffic flow over the committed rate.
>    `
>    [edit policies group junose list rate-limiter rule pr rate-limit rla]
>    user@host# set peak-rate peak-rate
>    `
> 6. (Optional) For two-rate rate-limit profiles, specify the amount of bandwidth allocated to burst traffic in excess of the peak rate.
>    `
>    [edit policies group junose list rate-limiter rule pr rate-limit rla]
>    user@host# set peak-burst peak-burst
>    `
> 7. (Optional) For one-rate rate-limit profiles, specify the amount of bandwidth allocated to accommodate burst traffic.
>    `
>    [edit policies group junose list rate-limiter rule pr rate-limit rla]
>    user@host# set excess-burst excess-burst
>    `
> 8. (Optional) Set the rate limit to color aware for the rate-limit to process color values.
>    `
>    [edit policies group parentGroupDefault list twoRate parent-group PGShared]
>    user@host# set color-aware
>    `
> 9. (Optional) Set the rate limit to support hierarchical rate limits.
>    `
>    [edit policies group junose list rate-limiter rule pr rate-limit rla]
>    user@host# set support-hierarchical
>    `
> 10. (Optional) Configure the rate-limit action for traffic flows that:
>     - Do not exceed the committed rate
>     - Exceed the committed rate but remain below the peak rate.
>     - Exceed the peak rate.

>       See Configuring Types of Actions for Rate-Limit Actions (SRC CLI).

> 11. (Optional) Enter a description for the rate-limit action.
>     `
>     [edit policies group junose list rate-limiter rule pr rate-limit rla]
>     user@host# set description description
>     `
> 12. (Optional) Return to the rate-limit action configuration, and verify the configuration.

>         [edit policies group junose list rate-limiter rule pr rate-limit rla]
>         user@host# show
>         committed-action {
>           forward {
>           }
>         }
>         conformed-action {
>           forward {
>           }
>         }
>         exceed-action {
>           filter {
>           }
>         }
>         type 1;
>         committed-rate 1000000;
>         committed-burst 125000;
>         excess-burst 312500;

> #### Published: 2009-09-22

> Copyright © 2009, Juniper Networks, Inc. All rights reserved. Trademark Notice.