exp (Rewrite rules)
Syntax
exp (rewrite-name | default) protocol protocol-types;
Hierarchy Level
[edit class-of-service interfaces interface-name unit logical-unit-number rewrite-rules]
Description
Apply an MPLS experimental (EXP) rewrite rule.
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.
Options
rewrite-name |
Name of a |
default |
The default mapping. By default, IP precedence rewrite rules alter the first three
bits on the type-of-service (ToS) byte while leaving the last three
bits unchanged. This default behavior applies to rewrite rules you
configure for MPLS packets with IPv4 payloads. You configure these
types of rewrite rules by including the On interfaces configured on Modular Port Concentrators (MPCs)
and Modular Interface Cards (MICs) on MX Series 5G Universal Routing
Platforms and EX Series switches, we highly recommend that you configure
the |
protocol-types |
Specify one or more protocol matching criteria:
Junos OS Evolved supports only the
|
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
Support for PTX platforms running Junos OS Evolved added with Junos OS Evolved Release 22.4.