NOTE: This example is not applicable on ACX5048 and ACX5096 routers.
•
Requirements on page 903
•
Overview on page 903
•
Configuration on page 903
Requirements
This example uses the following hardware and software components:
•
ACX Series router
•
Junos OS Release 12.2 or later
•
A previously configured ATM IMA pseudowire. For steps to configure an ATM IMA
pseudowire, see “Configuring Inverse Multiplexing for ATM (IMA)” on page 185.
Overview
In this example, an ATM IMA pseudowire logical interfaces (unit 0) is configured with
two egress ATM shapers—profile-1 and profile-2. The ATM shaping profiles are configured
with the following parameters:
•
atm-service—ATM service category used to define the bit rate at which traffic is policed.
•
peak-rate—Top rate at which traffic can burst. This is a mandatory statement that
must be included for the configuration to work correctly.
•
sustained-rate—Normal traffic rate averaged over time.
•
maximum-burst-size—Maximum number of cells that a burst of traffic can contain.
In addition to the configuration of shaping, this example includes the configuration of
tracing operations for the class-of-service (CoS) configuration.
Configuration
To configure shaping on an ATM IMA pseudowire, perform these tasks:
•
Configuring Shaping on an ATM IMA Pseudowire on page 904
•
Configuring Tracing Operations on page 905
•
Results on page 906
CLI Quick
Configuration
To quickly configure this example, copy the following commands, paste them in a text
file, remove any line breaks, change any details necessary to match your network
configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy
level:
set class-of-service traffic-control-profiles profile-1 atm-service rtvbr
set class-of-service traffic-control-profiles profile-1 peak-rate 5k
set class-of-service traffic-control-profiles profile-1 sustained-rate 3k
set class-of-service traffic-control-profiles profile-1 max-burst-size 400
903Copyright © 2017, Juniper Networks, Inc.
Chapter 27: Configuring Class of Service