Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
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

Configuring ATM Virtual Path Shaping on ATM MICs with SFP

date_range 06-Dec-23

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:

  1. Enable CoS hierarchical shaping and scheduling on the ATM physical interface.
    content_copy zoom_out_map
    [edit interfaces at-fpc/pic/port]
    user@host# hierarchical-scheduler
    
  2. Specify that you want to configure ATM-specific options on the physical interface.
    content_copy zoom_out_map
    [edit interfaces at-fpc/pic/port]
    user@host# edit atm-options
    
  3. Configure one or more virtual path identifiers (VPIs) on the ATM physical interface.
    content_copy zoom_out_map
    [edit interfaces at-fpc/pic/port atm-options]
    user@host# set vpi vpi-identifier
    
  4. Configure the appropriate encapsulation type for the ATM logical interface.
    content_copy zoom_out_map
    [edit interfaces at-fpc/pic/port unit logical-unit-number]
    user@host# set encapsulation encapsulation-type
    
  5. Configure one or more virtual circuit identifiers (VCI) for each VPI defined on the ATM physical interface.
    content_copy zoom_out_map
    [edit interfaces at-fpc/pic/port unit logical-unit-number]
    user@host# set vci vpi-identifier.vci-identifier
    
  6. (Optional) Configure PPPoE-specific options as needed for your configuration.

    For example, for PPPoE-over-ATM configurations:

    content_copy zoom_out_map
    [edit interfaces at-fpc/pic/port unit logical-unit-number family pppoe]
    user@host# set duplicate-protection
    
    Note:

    For dynamic or static PPPoE-over-ATM configurations on MX Series routers, you must specify PPPoE-specific options at the [edit interfaces interface-name unit logical-unit-number family pppoe] hierarchy level. Specifying PPPoE-specific options at the [edit interfaces interface-name unit logical-unit-number pppoe-underlying-options] hierarchy level is not supported for these configurations.

  7. Define the set of ATM logical interfaces for which you want to configure hierarchical schedulers.
    • Specify the name of the ATM interface set.

      content_copy zoom_out_map
      [edit interfaces}
      user@host# edit interface-set interface-set-name
      
    • Configure each member of the ATM interface set.

      content_copy zoom_out_map
      [edit interfaces interface-set interface-set-name]
      user@host# set interface at-fpc/pic/port unit logical-unit-number
      
      Note:

      All ATM logical interfaces that belong to the same interface set must share the same VPI and have a unique VCI.

  8. Configure one or more traffic shaping and scheduling profiles. For each traffic control profile:
    • Specify the service category that determines the traffic shaping parameter for the ATM queue at the ATM MIC with SFP.

      content_copy zoom_out_map
      [edit class-of-service traffic-control-profiles traffic-control-profile-name]
      user@host# set atm-service (cbr | nrtvbr | rtvbr)
      
    • Configure the transmit rate, shaping rate, and default excess rate for the ATM queue.

      content_copy zoom_out_map
      [edit class-of-service traffic-control-profiles traffic-control-profile-name]
      user@host# set peak-rate rate
      user@host# set sustained-rate rate
      user@host# set max-burst-size cells
      

    The ATM service category works in conjunction with the peak-rate, sustained-rate, and max-burst-size ATM cell parameters to configure traffic shaping, transmit rate, shaping rate, and default excess rate for an ATM queue.

  9. Apply the traffic control profile to the output traffic at the interface set.
    content_copy zoom_out_map
    [edit class-of-service interfaces interface-set interface-set-name]
    user@host# set output-traffic-control-profile profile-name
    
  10. Apply the traffic control profile to the output traffic at each member interface of the ATM interface set.
    content_copy zoom_out_map
    [edit class-of-service interfaces at-fpc/pic/port unit logical-unit-number]
    user@host# set output-traffic-control-profile profile-name
    

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.

content_copy zoom_out_map
[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.

Release
Description
14.2
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).
footer-navigation