[an error occurred while processing this directive][an error occurred while processing this directive]



exp (rewrite-name | default)protocol protocol-types;

Hierarchy Level

[edit class-of-service interfaces interface-name unit logical-unit-number rewrite-rules]

Release Information

Statement introduced before JUNOS Release 7.4.


Apply an MPLS experimental (EXP) rewrite rule.



Name of a rewrite-rules mapping configured at the [edit class-of-service rewrite-rules exp] hierarchy level.


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 remaining statement is explained separately.

Usage Guidelines

See Rewriting the EXP Bits of All Three Labels of an Outgoing Packet.

Required Privilege Level

interface—To view this statement in the configuration.

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

Published: 2010-04-15

[an error occurred while processing this directive]