Technical Documentation

shaping-rate (Dynamic Traffic Shaping and Scheduling)

Syntax

shaping-rate (rate | predefined-variable);

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]

Release Information

Statement introduced in JUNOS Release 9.2.

The $junos-cos-shaping-rate variable for traffic-control profiles added in JUNOS Release 9.4.

The $junos-cos-scheduler-shaping-rate variable for schedulers added in JUNOS 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), (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.


Published: 2010-04-15