Configuring ATM Virtual Path Shaping on ATM MICs with SFP
Starting in Junos OS Release 14.2, on MX Series routers with Modular Port Concentrator (MPC) interfaces and an ATM Modular Interface Card (MIC) with small form-factor pluggable transceiver (SFP) installed, you can configure class-of-service (CoS) hierarchical shaping and schedule for the traffic carried on an ATM virtual path (VP).
After you configure the ATM physical interface and logical interface
units, you must configure an interface set that consists of the ATM
logical interface units. You then define one or more CoS traffic control
profiles that includes the ATM service category (atm-service
) and the peak cell rate (peak-rate
), sustained cell rate
(sustained-rate
), and maximum burst size (max-burst-size
) parameters. Finally, you apply the specified traffic control profile
to the output traffic at the interface set and at its member ATM logical
interface units.
To configure ATM VP shaping for traffic on an ATM MIC with SFP:
The following example configures ATM VP shaping on interface
at-1/0/4 with VPI 40. The example defines an ATM interface set
named atm-vp-ifset with two member ATM logical interfaces, at-1/0/4.50
and at-1/0/4.51, both of which use VPI 40. Traffic control profiles
atm-vp-tcp1, atm-vp-tcp2, and atm-vp-tcp3 are each defined with the atm-service
, peak-rate
, sustained-rate
, and max-burst size
cell parameters. Finally, the output-traffic-control-profile
statement applies traffic control
profile atm-vp-tcp1 to the output traffic at interface at-1/0/4.50,
atm-vp-tcp2 to the output traffic at interface at-1/0/4.51, and atm-vp-tcp3
to the output traffic at the atm-vp-ifset interface set.
[edit] # Configure ATM Physical Interface user@host# set interfaces at-1/0/4 hierarchical-scheduler user@host# set interfaces at-1/0/4 atm-options vpi 40 # # Configure ATM Logical Units user@host# set interfaces at-1/0/4 unit 50 encapsulation pppoe-over-ether-over-atm-llc user@host# set interfaces at-1/0/4 unit 50 vci 40.50 user@host# set interfaces at-1/0/4 unit 50 family pppoe duplicate-protection user@host# set interfaces at-1/0/4 unit 51 encapsulation pppoe-over-ether-over-atm-llc user@host# set interfaces at-1/0/4 unit 51 vci 40.51 user@host# set interfaces at-1/0/4 unit 51 family pppoe duplicate-protection # # Configure ATM Interface Set user@host# set interfaces interface-set atm-vp-ifset interface at-1/0/4 unit 50 user@host# set interfaces interface-set atm-vp-ifset interface at-1/0/4 unit 51 # # Configure Traffic Shaping and Scheduling Profiles user@host# set class-of-service traffic-control-profiles atm-vp-tcp1 atm-service nrtvbr user@host# set class-of-service traffic-control-profiles atm-vp-tcp1 set peak-rate 3k user@host# set class-of-service traffic-control-profiles atm-vp-tcp1 set sustained-rate 200 user@host# set class-of-service traffic-control-profiles atm-vp-tcp1 set max-burst-size 1000 user@host# set class-of-service traffic-control-profiles atm-vp-tcp2 atm-service nrtvbr user@host# set class-of-service traffic-control-profiles atm-vp-tcp2 set peak-rate 200 user@host# set class-of-service traffic-control-profiles atm-vp-tcp2 set sustained-rate 100 user@host# set class-of-service traffic-control-profiles atm-vp-tcp2 set max-burst-size 150 user@host# set class-of-service traffic-control-profiles atm-vp-tcp3 atm-service nrtvbr user@host# set class-of-service traffic-control-profiles atm-vp-tcp3 set peak-rate 5k user@host# set class-of-service traffic-control-profiles atm-vp-tcp3 set sustained-rate 1k user@host# set class-of-service traffic-control-profiles atm-vp-tcp3 set max-burst-size 2000 # # Apply Traffic Shaping and Scheduling Profiles user@host# set class-of-service interfaces interface-set atm-vp-ifset output-traffic-control-profile atm-vp-tcp3 user@host# set class-of-service interfaces at-1/0/4 unit 50 output-traffic-control-profile atm-vp-tcp1 user@host# set class-of-service interfaces at-1/0/4 unit 51 output-traffic-control-profile atm-vp-tcp2
Change History Table
Feature support is determined by the platform and release you are using. Use Feature Explorer to determine if a feature is supported on your platform.