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

Configuring and Applying Adaptive Shaping for Frame Relay

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 Services Router 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 router 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 Services Router'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 Services Router:

  1. Navigate to the top of the configuration hierarchy in either the J-Web or CLI configuration editor.
  2. Perform the configuration tasks described in Table 118.
  3. If you are finished configuring the router, commit the configuration.
  4. Go on to one of the following tasks:

Table 118: Configuring and Applying an Adaptive Shaper

Navigate to the Class of service level in the configuration hierarchy.

In the configuration editor hierarchy, select Class of service.

From the top of the configuration hierarchy, enter

edit class-of-service

Define the adaptive shaper name and maximum transmit rate.

  1. Next to Adaptive Shapers, click Add new entry.
  2. In the Adaptive shaper name box, type fr-shaper.
  3. Next to Trigger, click Add new entry.
  4. Next to Becn, select the check box.
  5. Next to Shaping rate, select the check box and click Configure.
  6. From the Rate choice list, select Absolute rate.
  7. In the Absolute rate box, type 64k.
  8. Click OK three times.

Enter

set adaptive-shapers fr-shaper trigger becn shaping-rate 64k

Apply the adaptive shaper to the logical interface t1-0/0/2.0.

  1. Next to Interfaces, click Add new entry.
  2. In the Interface name box, type the name of the interface—t1-0/0/2.
  3. Next to Unit, click Add new entry.
  4. In the Unit number box, type the logical interface unit number—0.
  5. In the Adaptive shaper box, type the name of the adaptive shaper—fr-shaper.
  6. Click OK.

Enter

set interfaces t1-0/0/2 unit 0 adaptive-shaper fr-shaper


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