[Contents] [Prev] [Next] [Index] [Report an Error]

shaping-rate

See the following sections:

shaping-rate (Adaptive Shaping)

Syntax

shaping-rate (percent percentage | rate);

Hierarchy Level

[edit class-of-service adaptive-shapers adaptive-shaper-name trigger type]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

For J-series Services Routers only, define the list of trigger types and associated rates.

Options

percent percentage—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

Usage Guidelines

See Configuring an Adaptive Shaper for Frame Relay.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Related Topics

trigger

shaping-rate (Applying to an Interface)

Syntax

shaping-rate rate;

Hierarchy Level

[edit class-of-service interfaces interface-name],
[edit class-of-service interfaces interface-name unit logical-unit-number]

Release Information

Statement introduced before JUNOS Release 7.4.

[edit class-of-service interfaces interface interface-name] hierarchy level added in JUNOS Release 7.5.

Description

For logical interfaces on which you configure packet scheduling, configure traffic shaping by specifying the amount of bandwidth to be allocated to the logical interface.

For physical interfaces on IQ PICs, configure traffic shaping based on the rate-limited bandwidth of the total interface bandwidth.

Note: The shaping-rate statement cannot be applied to a physical interface on J-series routing platforms.

Logical and physical interface traffic shaping is mutually exclusive. This means you can include the shaping-rate statement at the [edit class-of-service interfaces interface interface-name] hierarchy level or the [edit class-of-service interfaces interface interface-name unit logical-unit-number] hierarchy level, but not both.

Note: For MX-series Ethernet Services routers, the shaping rate value for the physical interface at the [edit class-of-service interfaces interface-name] hierarchy level must be a minimum of 160 kbps.

Alternatively, you can configure a shaping rate for a logical interface and oversubscribe the physical interface by including the shaping-rate statement at the [edit class-of-service traffic-control-profiles] hierarchy level. With this configuration approach, you can independently control the delay-buffer rate, as described in Oversubscribing Interface Bandwidth.

For FRF.16 bundles on link services interfaces, only shaping rates based on percentage are supported.

Default

If you do not include this statement at the [edit class-of-service interfaces interface interface-name unit logical-unit-number] hierarchy level, the default logical interface bandwidth is the average of unused bandwidth for the number of logical interfaces that require default bandwidth treatment. If you do not include this statement at the [edit class-of-service interfaces interface interface-name] hierarchy level, the default physical interface bandwidth is the average of unused bandwidth for the number of physical interfaces that require default bandwidth treatment.

Options

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: For logical interfaces, 1000 through 32,000,000,000 bps.

For physical interfaces, 1000 through 160,000,000,000 bps.

Usage Guidelines

See Associating the Scheduler Map.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

shaping-rate (Limiting Excess Bandwidth Usage)

Syntax

shaping-rate (percent percentage | rate);

Hierarchy Level

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

Release Information

Statement introduced before JUNOS Release 7.4.

Description

For J-series Services Routers only, define a limit on excess bandwidth usage.

The transmit-rate statement at the [edit class-of-service schedulers scheduler-name hierarchy level configures the minimum bandwidth allocated to a queue. The transmission bandwidth can be configured as an exact value or allowed to exceed the configured rate if additional bandwidth is available from other queues. For J-series Services Routers only, you limit the excess bandwidth usage with this statement.

You should configure the shaping rate as an absolute maximum usage and not the additional usage beyond the configured transmit rate.

Default

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

Options

percent percentage—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

Usage Guidelines

See Associating the Scheduler Map.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

shaping-rate (Oversubscribing an Interface)

Syntax

shaping-rate (percent percentage | rate);

Hierarchy Level

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

Release Information

Statement introduced in JUNOS Release 7.6.

Description

For Gigabit Ethernet IQ, Channelized IQ PICs, and AS PIC FRF.16 LSQ interfaces only, configure a shaping rate for a logical interface. 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 Table 37.

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, 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: 1000 through 160,000,000,000 bps

Usage Guidelines

See Oversubscribing Interface Bandwidth and Configuring a Shared Scheduler and Shaper.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Related Topics

output-traffic-control-profile

shaping-rate (Virtual Channels)

Syntax

shaping-rate (percent percentage | rate);

Hierarchy Level

[edit class-of-service virtual-channel-groups group-name virtual-channel-name]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

For J-series Services Routers only, define the shaping rates to be associated with the virtual channel.

Options

percent percentage—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

Usage Guidelines

See Configuring CoS Virtual Channels.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Related Topics

default, scheduler-map (Virtual Channels), virtual-channel-group, virtual-channel-groups, virtual-channels


[Contents] [Prev] [Next] [Index] [Report an Error]