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

# Configuring Traffic-Shape Actions (SRC CLI)

Traffic-shape actions specify the maximum rate of traffic transmitted on an interface. You can create traffic-shape actions in JUNOS shaping 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 traffic-shape actions:

`

policies group name list name rule name traffic-shape name {
  rate rate ;
  description description ;
}

`

To configure a traffic-shape action:

1. From configuration mode, enter the traffic-shape configuration. For example, in this procedure, tsa is the name of the traffic-shape action.
   `
   user@host# edit policies group junos list trafficShaping rule shaping traffic-shape tsa
   `
2. (Optional) Configure the maximum transmission rate.
   `
   [edit policies group junos list trafficShaping rule shaping traffic-shape tsa]
   user@host# set rate rate
   `
3. (Optional) Enter a description for the traffic-shape action.
   `
   [edit policies group junos list trafficShaping rule shaping traffic-shape tsa]
   user@host# set description description
   `
4. (Optional) Verify the traffic-shape action configuration.

       [edit policies group junos list trafficShaping rule shaping traffic-shape tsa]
       user@host# show
       rate 10200000;
       description "Traffic-shaping action";

#### Related Topics

- Before You Configure SRC Policies
- Configuring Traffic-Class Actions (SRC CLI)
- Configuring Traffic-Mirror Actions (SRC CLI)
- Configuring Traffic-Shape Actions (C-Web Interface)

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