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 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);
- }
-
vc-cos-mode (alternate | strict);
- }
You can define the following options for each forwarding class:
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.
If shaping is enabled, the default EPD threshold is proportional to the shaping rate according to the following formula:
- default epd-threshold = number of buffers * shaping rate
/ line rate
The minimum value is 48 cells. If the formula results in an EPD threshold less than 48 cells, the result is ignored, and the minimum value of 48 cells is used.
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. |