shaping-rate (Dynamic Traffic Shaping and Scheduling)
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 9.2.
The $junos-cos-shaping-rate variable for traffic-control profiles added in Junos OS Release 9.4.
The $junos-cos-scheduler-shaping-rate variable for schedulers added in Junos OS Release 10.2.
Description
Configure a shaping rate for a logical interface or a scheduler. The sum of the shaping rates for all logical interfaces on the physical interface can exceed the physical interface bandwidth. This practice is known as oversubscription of the peak information rate (PIR).
Default
The default behavior depends on various factors.
Options
rate—Peak rate in bits per second (bps). You can specify the value 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: 1000 through 160,000,000,000 bps
predefined-variable—One of the following Junos predefined variables. The variable is replaced with a value obtained from the RADIUS server when a subscriber authenticates over the interface to which the dynamic profile is attached.
- $junos-cos-shaping-rate—Variable for the shaping rate that is specified for the logical interface. Use this variable at the [edit dynamic-profiles profile-name class-of-service traffic-control-profiles profile-name] hierarchy level.
- $junos-cos-scheduler-shaping-rate—Variable for the shaping rate that is specified for a scheduler. Use this variable at the [edit dynamic-profiles profile-name class-of-service schedulers scheduler-name] hierarchy level.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
