Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Applying DSCP Classifiers to MPLS Traffic

On MX960, MX480, MX240, MX80, M120, and M320 routers with Enhanced Type III FPCs and EX Series switches only, you can configure user-defined DSCP-based BA classification for MPLS interfaces or VPLS/L3VPN routing instances (LSI interfaces).

Note:

You cannot configure user-defined DSCP-based BA classification for MPLS interfaces on IQE PICs or on MX Series routers or EX Series switches when ingress queuing is used.

The following examples show how you can apply DSCP classifiers for MPLS traffic on core-facing interfaces and VPLS/L3VPN routing instances. These classifiers are applicable on egress PE routers for VPLS and L3VPN cases. For plain interfaces (not VPLS/L3VPN (LSI) interfaces), these classifiers are applicable on P and egress PE routers on core-facing interfaces.

Applying a DSCP Classifier to MPLS Packets on a Core-facing Interface

The following procedure 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.

The following example:

  1. Configures core-facing interface ge-5/3/1.0 for protocol families IPv4, IPv6, and International Organization for Standardization Open Systems Interconnection (ISO OSI)

  2. Configures the DSCP classifier dscp11.

  3. Apply the DSCP classifier to the logical interface for the MPLS family.

To configure and apply a DSCP classifier to MPLS packets on a core-facing interface:

  1. Configure the core-facing interface and associated logical interfaces.
  2. Configure the DSCP classifier.
  3. Apply the classifier to the logical interface for the MPLS family.
    Note:

    You cannot configure more than one classifier per family.

  4. Confirm the configuration.
  5. Save the configuration.

Applying a DSCP Classifier to MPLS Traffic for L3VPN/VPLS

The following procedure 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.

The following example:

  1. Configures routing instances of type either vrf or vpls.

  2. Configures the DSCP classifier.

  3. Attaches the classifier to the routing instance.

To configure and apply a DSCP classifier to MPLS traffic for L3VPN/VPLS:

  1. Configure routing instances of type either vrf or vpls.
  2. Configure the DSCP classifier.
  3. Attach the classifier to the routing instance.
    Note:

    You cannot configure more than one classifier per routing instance.

  4. Confirm the configuration.
  5. Save the configuration.