Technical Documentation



shaping-rate (percent percentage | rate);

Hierarchy Level

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

Release Information

Statement introduced in JUNOS Release 9.3 for EX Series switches.


Configure shaping rate to throttle the rate at which queues transmit packets.

We recommend that you configure the shaping rate as an absolute maximum usage and not as additional usage beyond the configured transmit rate.


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


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

Required Privilege Level

routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.

Published: 2009-07-22