You can use adaptive shaping to limit the bandwidth of traffic flowing on a Frame Relay logical interface. If you configure and apply adaptive shaping, the device checks the backward explicit congestion notification (BECN) bit within the last inbound (ingress) packet received on the interface. If the BECN bit is set, the device limits the transmit bandwidth on the interface to the configured adaptive shaper maximum transmit rate. If the BECN bit is not set, the transmit bandwidth is not limited and is allowed to exceed the adaptive shaper rate.
For more information about adaptive shapers for a Frame Relay interface, see the JUNOS Class of Service Configuration Guide.
The following example shows how to create adaptive shaper fr-shaper and apply it to the device's T1 interface t1-0/0/2. The adapter shaper limits the transmit bandwidth on the interface to 64 Kbps.
To configure and apply an adaptive shaper for the device:
Table 208: Configuring and Applying an Adaptive Shaper
|
Task |
J-Web Configuration Editor |
CLI Configuration Editor |
|---|---|---|
|
Navigate to the Class of service level in the configuration hierarchy. |
|
From the [edit] hierarchy level, enter edit class-of-service |
|
Define the adaptive shaper name and maximum transmit rate. |
|
Enter set adaptive-shapers fr-shaper trigger becn shaping-rate 64k |
|
Apply the adaptive shaper to the logical interface t1-0/0/2.0. (See the interface naming conventions in Network Interface Naming.) |
|
Enter set interfaces t1-0/0/2 unit 0 adaptive-shaper fr-shaper |