Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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 CoS on Circuit Emulation ATM MICs

date_range 13-Jan-21

On MX Series routers, you can configure the following class-of-service features on Circuit Emulation ATM MICs:

  • Traffic shaping and scheduling—Traffic shaping determines the maximum amount of traffic that can be transmitted on an interface.

  • Policing—Policing, or rate limiting, enables you to limit the amount of traffic that passes into or out of the interface. It works with firewall filters to thwart denial-of-service (DoS) attacks.

To configure a traffic shaping and scheduling profile on a Circuit Emulation ATM MIC:

  1. Configure the traffic shaping and scheduling profile and specify the service category that determines the traffic shaping parameter for the ATM queue at the ATM MIC.
    content_copy zoom_out_map
    [edit class-of-service traffic-control-profile traffic-control-profile-name]
    user@host# set atm-service (cbr | nrtvbr| rtvbr)
    
    Note:

    Beginning with Junos OS Release 14.2, to configure up to OC12 constant bit rate (CBR) bandwidth speed per virtual circuit (VC) on an ATM MIC with SFP (MIC-3D-8OC3-2OC12-ATM), specify cbr as the ATM service category.

  2. 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-profile traffic-control-profile-name]
    user@host# set peak-rate peak-rate
    user@host# set sustained-rate rate
    user@host# set max-burst-size cells
    
    Note:

    Beginning with Junos OS Release 14.2, to configure up to OC12 CBR bandwidth speed per VC on an ATM MIC with SFP, specify up to 1,412,829 cells per second (cps) as the ATM peak cell rate.

To configure an ATM policer for a Circuit Emulation ATM MIC:

  1. Create a policer for each cell in the ATM packet. A policer defines the maximum traffic that can flow through an interface and further determines the actions to be taken when the traffic exceeds the defined limits.

    content_copy zoom_out_map
    [edit firewall]
    user@host# set atm-policer atm-policer-name
    
  2. Define the policer parameters. Configure the atm-service option. Apply limits to the traffic flow by configuring the cdvt and peak-rate parameters within the policer and define the policing-action parameter to set a consequence for the packets that exceed the traffic limits.

    content_copy zoom_out_map
    [edit firewall atm-policer atm-policer-name]
    user@host# set logical-interface-policer
    user@host# set atm-service (cbr | rtvbr | nrtvbr | ubr)
    user@host# set cdvt rate
    user@host# set peak-rate rate
    user@host# set policing-action (discard | discard-tag | count)
    
  3. Apply the traffic-shaping profile at the class-of-service interface level.

    content_copy zoom_out_map
    [edit class-of-service interfaces at-fpc/pic/port unit unit-number]
    user@host# set output-traffic-control-profile traffic-control-profile-name
    
  4. Apply the policer at the interface level.

    content_copy zoom_out_map
    [edit interfaces at-fpc/pic/port unit unit-number]
    user@host# set atm-policer input-atm-policer atm-policer-name
    

You can verify the configuration by using the show class-of-service traffic-control-profile traffic-control-profile-name command.

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
Beginning with Junos OS Release 14.2, to configure up to OC12 constant bit rate (CBR) bandwidth speed per virtual circuit (VC) on an ATM MIC with SFP (MIC-3D-8OC3-2OC12-ATM), specify cbr as the ATM service category.
14.2
Beginning with Junos OS Release 14.2, to configure up to OC12 CBR bandwidth speed per VC on an ATM MIC with SFP, specify up to 1,412,829 cells per second (cps) as the ATM peak cell rate.
footer-navigation