Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Example: Configuring DSCP Classification for VPLS

This example shows how to configure a DSCP classifier for a virtual private LAN service (VPLS).


This example uses the following hardware and software components:

  • An M Series Multiservice Edge Router (M120 and M320 only), MX Series 5G Universal Routing Platform, or T Series Core Router (TX Matrix and TX Matrix Plus only) with an ATM interface.

  • Junos OS Release 10.4 or later.


In this example, you configure a DSCP classifier dscp_vpls on ATM interface at-4/1/1 with ether-vpls-over-atm-llc encapsulation. The classifier dscp_vpls is applied to the interface and the interface is listed in the VPLS routing instance vpls1 on the ingress PE router.


CLI Quick Configuration

To quickly configure the DSCP classifier for a virtual private LAN service (VPLS), copy the following commands to a text file, remove any line breaks, and then paste the commands into the CLI.

Configuring the DSCP Classifier for a Virtual Private LAN Service (VPLS)

Step-by-Step Procedure

The following example requires that you navigate various levels in the configuration hierarchy. For information about navigating the CLI, see Using the CLI Editor in Configuration Mode in the Junos OS CLI User Guide.

To configure the DSCP classifier for a virtual private LAN service (VPLS:

  1. Configure the ATM interface at-4/1/1.0 and the encapsulation as ether-vpls-over-atm-llc.

  2. Configure the DSCP classifier dscp_vpls.

  3. Apply the classifier dscp_vpls to the ATM interface at-4/1/1.0.

  4. Include the ATM interface virtual circuit at-4/1/1.0 as part of the routing instance vpls1 configuration.


From configuration mode, confirm your configuration by entering the show interfaces, show class-of-service, and show routing-instances commands. If the output does not display the intended configuration, repeat the instructions in this example to correct the configuration.