Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Example: Configuring Hierarchical CoS on vMX

This example describes how to configure hierarchical CoS on vMX with eight queues.


This example uses the following hardware and software components:

  • Junos OS Release 16.2

  • vMX Release 16.2


This example configures two-level hierarchical schedulers with specified transmission rates.


Configuring the Chassis

CLI Quick Configuration

Step-by-Step Procedure

To enable hierarchical CoS on the chassis:

  1. Enable flexible queuing mode on the chassis.

    Once you commit the configuration, the FPC is restarted.

Applying Shaping and Scheduling to VLANs

CLI Quick Configuration

Step-by-Step Procedure

To apply shaping and scheduling:

  1. Map the forwarding classes to their respective queues.

  2. Configure the interfaces to enable two-level hierarchical scheduling and apply scheduling to the VLANs.

  3. Configure the classifiers.

  4. Configure the traffic control profiles.

  5. Map the traffic control profiles to their respective interface.

  6. Configure the scheduler maps.

  7. Configure the schedulers.