See the following sections:
- shaping-rate (percent percentage | rate);
- [edit class-of-service adaptive-shapers adaptive-shaper-name trigger type]
For J-series Services Routers only, define the list of trigger types and associated rates.
0 through 100 percent
3200 through 32,000,000,000 bps
See Configuring an Adaptive Shaper for a Frame Relay Interface.
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
- shaping-rate rate;
- [edit class-of-service interfaces interface-name],
- [edit class-of-service interfaces interface-name unit logical-unit-number]
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-name] hierarchy level or the [edit class-of-service interfaces interface-name unit logical-unit-number] hierarchy level, but not both.
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.
If you do not include this statement at the [edit class-of-service interfaces 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-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.
For logical interfaces, 1000 through 32,000,000,000 bps.
See Associating the Scheduler Map and a Shaping Rate with a Physical Interface and Associating the Scheduler Map and a Shaping Rate with a DLCI or VLAN.
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
- shaping-rate (percent percentage | rate);
- [edit class-of-service schedulers scheduler-name]
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.
If you do not include this statement, the default shaping rate is 100 percent, which is the same as no shaping at all.
0 through 100 percent
3200 through 32,000,000,000 bps
See Associating the Scheduler Map and a Shaping Rate with a DLCI or VLAN.
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
- shaping-rate (percent percentage | rate);
- [edit class-of-service traffic-control-profiles profile-name]
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).
The default behavior depends on various factors. For more information, see Table 27.
1 through 100 percent
1000 through 160,000,000,000 bps
See Oversubscribing Interface Bandwidth and Configuring a Shared Scheduler and Shaper.
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
- shaping-rate (percent percentage | rate);
- [edit class-of-service virtual-channel-groups group-name virtual-channel-name]
For J-series Services Routers only, define the shaping rates to be associated with the virtual channel.
0 through 100 percent
3200 through 32,000,000,000 bps
See Configuring Virtual Channels.
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.