Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Example: Configuring Forwarding Classes

By default on all platforms, four output queues are mapped to four FCs as shown in Forwarding Classes Overview. On Juniper Networks devices, you can configure up to eight FCs and eight queues.

To configure up to eight FCs, include the queue statement at the [edit class-of-service forwarding-classes] hierarchy level:

The output queue number can be from 0 through 7, and you must map the forwarding classes one-to-one with the output queues. The default scheduler transmission rate and buffer size percentages for queues 0 through 7 are 95, 0, 0, 5, 0, 0, 0, and 0 percent, respectively.

For example, to configure a one-to-one mapping between eight FCs and eight queues, you would use the following configuration:

Defining Eight Classifiers

Adding Eight Schedulers to a Scheduler Map

Configure a custom scheduler map that applies globally to all interfaces, except those that are restricted to four queues:

Configuring an IP Precedence Classifier and Rewrite Tables

Configuring an IDP Policy with a Forwarding Class

Configure an IDP policy with a forwarding class as an action to rewrite DSCP values of IP packets: