shaping-rate (Dynamic Traffic Shaping and Scheduling)
Syntax
shaping-rate (rate | predefined-variable) <burst-size bytes | $junos-cos-shaping-rate-burst>;
Hierarchy Level
[edit dynamic-profiles profile-name class-of-service traffic-control-profiles profile-name], [edit dynamic-profiles profile-name class-of-service schedulers scheduler-name]
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).
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.
burst-size bytes
—(Optional)
Maximum burst size, in bytes.
Range: 0 through 1,000,000,000
$junos-cos-shaping-rate-burst
—(Optional) Variable
for the burst-size that is specified for the shaping rate. Use this
variable at the [edit dynamic-profiles profile-name class-of-service traffic-control-profile
] hierarchy level.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 9.2.
The $junos-cos-shaping-rate
variable for traffic-control
profiles introduced in Junos OS Release 9.4.
The $junos-cos-scheduler-shaping-rate
variable for
schedulers introduced in Junos OS Release 10.2.
Option burst-size
introduced in Junos OS Release
11.4.