Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Example: Configure DSCP Classification for VPLS

This example shows how to configure a DSCP classifier for a VPLS.

Requirements

This example uses the following hardware and software components:

  • An MX Series 5G Universal Routing Platform with an ATM interface.

  • Junos OS Release 10.4 or later.

Overview

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.

Configuration

CLI Quick Configuration

To quickly configure the DSCP classifier for a 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 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 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.

Results

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.