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:
To configure an ATM policer for a Circuit Emulation ATM MIC:
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
Define the policer parameters. Configure the
atm-service
option. Apply limits to the traffic flow by configuring thecdvt
andpeak-rate
parameters within the policer and define thepolicing-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-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)
Apply the traffic-shaping profile at the class-of-service interface level.
[edit class-of-service interfaces at-fpc/pic/port unit unit-number] user@host# set output-traffic-control-profile traffic-control-profile-name
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.
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.
cbr
as the ATM service category.