Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

shaping-rate (Oversubscribing an Interface)

Syntax

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

Hierarchy Level

[edit class-of-service traffic-control-profiles profile-name]

Release Information

Statement introduced in Junos OS Release 7.6.

Option burst-size introduced for Enhanced Queuing (EQ) DPC interfaces on MX Series routers in Junos OS Release 9.4.

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

Option burst-size introduced for IQ2 and IQ2E interfaces in Junos OS Release 12.3.

Description

For Gigabit Ethernet IQ, Channelized IQ PIC, FRF.15 and FRF.16 LSQ interfaces, and for EQ DPC, MIC, and MPC interfaces on MX Series routers, configure a shaping rate for a logical interface. You can also configure an optional burst size for a logical interface on EQ DPC interfaces and on IQ2 and IQ2E PIC interfaces. This can help to ensure that higher-priority services do not starve lower-priority services.

For physical interfaces on T4000 router interfaces on Type 5 FPCs, configure traffic shaping rate.

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. For more information, see Oversubscribing Interface Bandwidth.

Options

percent percentage—For LSQ interfaces, shaping rate as a percentage of the available interface bandwidth.

Range: 1 through 100 percent

rate—For IQ and IQ2 interfaces, and T4000 routers with Type 5 FPCs, 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: IQ and IQ2 interfaces—1000 through 160,000,000,000 bps

Range: T4000 routers with Type 5 FPCs—the shaping rate value for the physical interface must be a minimum of 292 Kbps. The maximum value of shaping-rate is limited by the maximum transmission rate of the interface.

burst-size bytes—(Optional) Maximum burst size, in bytes.

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-08-28