Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Configuring CoS on Circuit Emulation ATM MICs

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.
    [edit class-of-service traffic-control-profile traffic-control-profile-name]user@host# set atm-service (cbr | rtvbr| nrtvbr)
  2. Configure the transmit rate, shaping rate, and default excess rate for the ATM queue.
    [edit class-of-service traffic-control-profile traffic-control-profile-name]user@host# set peak-rate peak-rateuser@host# set sustained-rate rateuser@host# set max-burst-size cells

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.
    [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.
    [edit firewall atm-policer atm-policer-name]user@host# set logical-interface-policeruser@host# set atm-service (cbr | rtvbr | nrtvbr | ubr)user@host# set cdvt rateuser@host# set peak-rate rateuser@host# set policing-action (discard | discard-tag | count)
  3. Apply the traffic-shaping profile at the interface level.
    [edit interfaces at-fpc/pic/port unit unit-number]user@host# set class-of-service interfaces output-traffic-control-profile traffic-control-profile-name
  4. Apply the policer at the interface level.
    [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.

Published: 2013-08-01