- play_arrow Overview
- play_arrow Introduction to Class of Service
-
- play_arrow Configuring Class of Service Scheduler Hierarchy
- play_arrow Controlling Traffic by Configuring Scheduler Hierarchy
-
- play_arrow Configuring Class of Service for IPv6
- play_arrow Configuring Class of Service for IPv6 Traffic
-
- play_arrow Configuring Class of Service for I/O Cards
- play_arrow Configuring Class of Service for I/O Cards
- PIR-Only and CIR Mode Overview
- Understanding Priority Propagation
- Understanding IOC Hardware Properties
- Understanding IOC Map Queues
- WRED on the IOC Overview
- MDRR on the IOC Overview
- CoS Support on the SRX5000 Module Port Concentrator Overview
- Example: Configuring CoS on SRX5000 Firewalls with an MPC
-
- play_arrow Configuration Statements and Operational Commands
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.
content_copy zoom_out_map[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.
content_copy zoom_out_map[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.
content_copy zoom_out_map[edit] user@host# commit