Default Forwarding Classes

By default, four queues are assigned to four forwarding classes, each with a queue number, name, and abbreviation.

These default mappings apply to all routers. The four forwarding classes defined by default are shown in Table 20.

If desired, you can rename the forwarding classes associated with the queues supported on your hardware. Assigning a new class name to an output queue does not alter the default classification or scheduling that is applicable to that queue. CoS configurations can be quite complicated, so unless it is required by your scenario, we recommend that you not alter the default class names or queue number associations.

Some routers support eight queues. Queues 4 through 7 have no default mappings to forwarding classes. To use queues 4 through 7, you must create custom forwarding class names and map them to the queues. For more information, see the Juniper Networks J Series Services Router documentation.

Table 20: Default Forwarding Classes

Queue

Forwarding Class Name

Comments

Queue 0

best-effort (be)

The software does not apply any special CoS handling to packets with 000000 in the DiffServ field, a backward compatibility feature. These packets are usually dropped under congested network conditions.

Queue 1

expedited-forwarding (ef)

The software delivers assured bandwidth, low loss, low delay, and low delay variation (jitter) end-to-end for packets in this service class.

Routers accept excess traffic in this class, but in contrast to assured forwarding, out-of-profile expedited-forwarding packets can be forwarded out of sequence or dropped.

Queue 2

assured-forwarding (af)

The software offers a high level of assurance that the packets are delivered as long as the packet flow from the customer stays within a certain service profile that you define.

The software accepts excess traffic, but applies a RED drop profile to determine if the excess packets are dropped and not forwarded.

Depending on router type, up to four drop probabilities (low, medium-low, medium-high, and high) are defined for this service class.

Queue 3

network-control (nc)

The software delivers packets in this service class with a low priority. (These packets are not delay sensitive.)

Typically, these packets represent routing protocol hello or keepalive messages. Because loss of these packets jeopardizes proper network operation, delay is preferable to discard.

The following rules govern queue assignment:

This is the default configuration for the forwarding-classes statement:

[edit class-of-service]forwarding-classes {queue 0 best-effort;queue 1 expedited-forwarding;queue 2 assured-forwarding;queue 3 network-control;}

If you reassign the forwarding-class names, the best-effort forwarding-class name appears in the locations in the configuration previously occupied by network-control as follows:

[edit class-of-service]forwarding-classes {queue 0 network-control;queue 1 assured-forwarding;queue 2 expedited-forwarding;queue 3 best-effort;}

All the default rules of classification and scheduling that applied to Queue 3 still apply. Queue 3 is simply now renamed best-effort.

On Juniper Networks M320 Multiservice Edge Routers and T Series Core Routers, you can assign multiple forwarding classes to a single queue. If you do so, the first forwarding class that you assign to queue 0 acquires the default BE classification and scheduling. The first forwarding class that you assign to queue 1 acquires the default EF classification and scheduling. The first forwarding class that you assign to queue 2 acquires the default AF classification and scheduling. The first forwarding class that you assign to queue 3 acquires the default NC classification and scheduling. For more information, see Configuring Up to 16 Forwarding Classes.

For more information, see Hardware Capabilities and Limitations.