Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

shaping-rate (Limiting Excess Bandwidth Usage)

Syntax

shaping-rate (percent percentage | rate) <burst-size bytes>;

Hierarchy Level

[edit class-of-service schedulers scheduler-name]

Release Information

Statement introduced before Junos OS Release 7.4.

The burst-size option added for MIC and MPC interfaces on MX Series routers in Junos OS Release 11.4.

Statement introduced in Junos OS Release 12.2 for ACX Series Routers.

Description

Define a limit on excess bandwidth usage for J Series routers and for MIC and MPC interfaces on MX Series routers.

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. For J Series routers only, you limit the excess bandwidth usage with this statement.

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

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 32,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.

Published: 2013-07-31

Supported Platforms

Published: 2013-07-31