ON THIS PAGE
Example: Configuring and Applying an Adaptive Shaper
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:
Specify the name and the maximum transmit rate of the adaptive shaper.
[edit] user@host# edit class-of-service user@host# set adaptive-shapers fr-shaper trigger becn shaping-rate 64k
Apply the adaptive shaper to the logical interface.
[edit class-of-service] user@host# set interfaces t1-0/0/2 unit 0 adaptive-shaper fr-shaper
If you are done configuring the device, commit the configuration.
[edit] user@host# commit
Verification
To verify the configuration is working properly,
enter the show class-of-service
command.