Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

shaping-rate (Schedulers)

Syntax

Hierarchy Level

Description

Define a limit on excess bandwidth usage for a forwarding class/queue.

The transmit-rate statement at the [edit class-of-service schedulers scheduler-name] hierarchy level configures the minimum bandwidth allocated to a queue. The transmission bandwidth can be configured as an exact value or allowed to exceed the configured rate if additional bandwidth is available from other queues.

Configure the shaping rate as an absolute maximum usage and not the additional usage beyond the configured transmit rate.

Default

If you do not include this statement, the default shaping rate is 100 percent, which is the same as no shaping at all.

Options

percent percentage

Shaping rate as a percentage of the available interface bandwidth.

  • Range: 0 through 100 percent

    Note:

    If you configure a shaping rate as a percent in a scheduler, the effective shaping rate is calculated based on the following hierarchy:

    1. Logical interface shaping rate, if configured

    2. Physical interface shaping rate, if configured

    3. Physical interface bandwidth

    With SRX300, SRX320, SRX340, SRX345, SRX550m, SRX1500, SRX1600, and vSRX2.0 firewalls, you can configure both logical interface shaping rates and physical interface shaping rates on the same physical interface. On all other models, you can only configure one or the other on a particular physical interface.

rate

Peak rate, in bits per second (bps). You can specify a value in bits per second either as a complete decimal number or as a decimal number followed by the abbreviation k (1000), m (1,000,000), or g (1,000,000,000).

  • Range: 3200 through 6,400,000,000,000 bps

burst-size bytes

Maximum burst size, in bytes. The burst value determines the number of rate credits that can accrue when the queue or scheduler node is held in the inactive round robin.

  • Range: 0 through 1,000,000,000

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced before Junos OS Release 7.4.

The burst-size option added in Junos OS Release 11.4.