To define a scheduler map, you associate it with a forwarding class. Each class is associated with a specific queue, as follows:
![]() |
Note: For M320, M120, and T-series platforms only, you can configure more than four forwarding classes and queues. For more information, see Enabling Eight Queues on ATM2 IQ Interfaces. |
When you configure an ATM scheduler map, the JUNOS software creates these CoS queues for a VC. The JUNOS software prefixes each packet delivered to the VC with the next-hop rewrite data associated with each queue.
To configure an ATM scheduler map, include the scheduler-maps statement at the [edit interfaces at-fpc/pic/port atm-options] hierarchy level:
- edit interfaces at-fpc/pic/port atm-options]
-
scheduler-maps map-name {
-
-
forwarding-class class-name {
-
epd-threshold cells plp1 cells;
-
linear-red-profile profile-name;
-
priority (high | low);
-
transmit-weight (cells number | percent number);
- }
- }
You can define the following options for each forwarding class:
A linear RED profile defines the number of cells using the queue-depth statement within the RED profile. (You configure the queue-depth statement at the [edit interfaces at-fpc/pic/port atm-options linear-red-profiles profile-name] hierarchy level.)
By default, if you include the scheduler-maps statement at the [edit interfaces at-fpc/pic/port atm-options] hierarchy level, the interface uses an EPD threshold that is determined by the JUNOS software based on the available bandwidth and other parameters. You can override the default EPD threshold by setting an EPD threshold or a linear RED profile.
The AAL5 protocol prohibits cells from being interleaved on a VC; therefore, a complete packet is always sent. If a CoS queue sends more cells than its assigned weight because of the packet boundary, the deficit is carried over to the next time the queue is scheduled to transmit. If the queue is empty after the cells are sent, the deficit is waived, and the queue’s assigned weight is reset.
![]() |
Note: If you include the scheduler-maps statement at the [edit interfaces at-fpc/pic/port atm-options] hierarchy level, the epd-threshold statement at the [edit interfaces interface-name unit logical-unit-number] or [edit interfaces interface-name unit logical-unit-number address address family family multipoint-destination address] hierarchy level has no effect because either the default EPD threshold, the EPD threshold setting in the forwarding class, or the linear RED profile takes effect instead. |
For more information about forwarding classes, see the JUNOS Class of Service Configuration Guide.