Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Example: Configuring and Applying an Adaptive Shaper

date_range 26-Jan-21

This example shows how to configure and apply an adaptive shaper to limit the bandwidth of traffic on a Frame Relay logical interface.

Requirements

Before you begin, review how to create and apply scheduler maps. See Example: Configuring and Applying Scheduler Maps

Overview

In this example, you create adaptive shaper fr-shaper and apply it to T1 interface t1-0/0/2. The adapter shaper limits the transmit bandwidth on the interface to 64 Kbps.

Configuration

Procedure

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode in the Junos OS CLI User Guide.

To configure and apply an adaptive shaper to a logical interface:

  1. Specify the name and the maximum transmit rate of the adaptive shaper.

    content_copy zoom_out_map
    [edit]
    user@host# edit class-of-service
    user@host# set adaptive-shapers fr-shaper trigger becn shaping-rate 64k 
    
  2. Apply the adaptive shaper to the logical interface.

    content_copy zoom_out_map
    [edit class-of-service]
    user@host# set interfaces t1-0/0/2 unit 0 adaptive-shaper fr-shaper
    
  3. If you are done configuring the device, commit the configuration.

    content_copy zoom_out_map
    [edit]
    user@host# commit
    

Verification

To verify the configuration is working properly, enter the show class-of-service command.

footer-navigation