Supported Platforms
Related Documentation
- ACX, EX, M, MX, PTX, T Series
- Configuring Rewrite Rules
- EX, M, MX Series
- protocol (Rewrite Rules)
- EX, MX Series
- rewrite-rules (Definition)
- M Series
- Rewriting the EXP Bits of All Three Labels of an Outgoing Packet
- M, MX, PTX, T Series
- Applying Rewrite Rules to Output Logical Interfaces
exp
Syntax
Hierarchy Level
Release Information
Statement introduced before Junos OS Release 7.4.
Statement introduced before Junos OS Release 12.2. for ACX series
Description
Apply an MPLS experimental (EXP) rewrite rule.
Options
rewrite-name | — | Name of a rewrite-rules mapping configured at the [edit class-of-service rewrite-rules exp] hierarchy level. |
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 mpls-inet-both or mpls-inet-both-non-vpn option at the [edit class-of-service interfaces interface interface-name unit logical-unit-number rewrite-rules exp rewrite-rule-name protocol] hierarchy level. The IP precedence rewrite rules explanation does not apply to ACX Series Universal Access routers. On interfaces configured on Modular Port Concentrators (MPCs) and Modular Interface Cards (MICs) on MX Series 3D Universal Edge Routers and EX Series switches, we highly recommend that you configure the default option when you configure a behavior aggregate (BA) classifier that does not include a specific rewrite rule for MPLS packets. Doing so ensures that MPLS exp value is rewritten according to the BA classifier rules configured for forwarding or packet loss priority. This does not apply to ACX Series Universal Access routers. |
protocol-types | — | Specify one or more protocol matching criteria:
|
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Related Documentation
- ACX, EX, M, MX, PTX, T Series
- Configuring Rewrite Rules
- EX, M, MX Series
- protocol (Rewrite Rules)
- EX, MX Series
- rewrite-rules (Definition)
- M Series
- Rewriting the EXP Bits of All Three Labels of an Outgoing Packet
- M, MX, PTX, T Series
- Applying Rewrite Rules to Output Logical Interfaces
Published: 2013-08-28
Supported Platforms
Related Documentation
- ACX, EX, M, MX, PTX, T Series
- Configuring Rewrite Rules
- EX, M, MX Series
- protocol (Rewrite Rules)
- EX, MX Series
- rewrite-rules (Definition)
- M Series
- Rewriting the EXP Bits of All Three Labels of an Outgoing Packet
- M, MX, PTX, T Series
- Applying Rewrite Rules to Output Logical Interfaces