Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

exp (Class of Service)

date_range 03-Jun-24

Syntax

Classifier Configuration

content_copy zoom_out_map
exp classifier-name {
    import (classifier-name | default);
    forwarding-class class-name {
        loss-priority level {
            code-points [ aliases ] [ bit-patterns ];
        }
    }
}

Rewrite Rule Configuration

content_copy zoom_out_map
exp rewrite-name {
    import (rewrite-name | default);
    forwarding-class class-name {
        loss-priority level {
            code-point [ aliases ] [ bit-patterns ];
        }
    }
}

Global Classifier Association with Interfaces

content_copy zoom_out_map
exp name;

Hierarchy Level

content_copy zoom_out_map
[edit class-of-service classifiers]
[edit class-of-service code-point-aliases],
[edit class-of-service rewrite-rules]
[edit class-of-service interfaces interface-name unit logical-unit-number rewrite-rules],
[edit class-of-service system-defaults classifiers]

Description

Define the EXP code point mapping that is applied to MPLS packets. EXP classifiers are not applied to any traffic except MPLS traffic. EXP classifiers are applied only to interfaces that are configured as family mpls (for example, set interfaces xe-0/0/35 unit 0 family mpls.)

There are no default EXP classifiers. You can configure up to 64 EXP classifiers.

Starting in Junos OS 20.3R1, on segment routing LSPs, applying an EXP rewrite rule to the egress interface on the ingress (provider edge) router of a segment-routing network imposes the rewrite rule to all transport labels in the stack. As a result, you don't need to configure rewrite rules on every segment in the LSP.

On QFX10000 switches, you can configure and apply EXP classifiers to interfaces in the same way that you configure and apply DSCP, DSCP IPv6, and IEEE classifiers to interfaces. Different interfaces can have different EXP classifiers. QFX10000 switches do not support global EXP classifiers.

QFX5100 and EX4600 switches uses only one EXP classifier as a global MPLS classifier on all interfaces. You specify the global EXP classifier in the [edit class-of-service system-defaults] hierarchy.

EX Series switches support only one EXP code mapping on the switch (either default or custom). It is applied globally and implicitly to all the MPLS-enabled interfaces on the switch. You cannot bind it or disable it on individual interfaces.

Options

classifier-name—Name of the EXP classifier.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

interfaces—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 12.3X50.

footer-navigation