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 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

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.