Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?



Syntax (Rewrite Rule Configuration)

Syntax (Rewrite Rule Association with Interface)

Hierarchy Level (Rewrite Rule Configuration)

Hierarchy Level (Rewrite Rule Association with Interface)


Configure rewrite rules that map traffic to code points when traffic exits the system, and apply the rewrite rules to a specific interface.

MPLS EXP rewrite rules can only be bound to logical interfaces, not to physical interfaces. You can configure up to 64 EXP rewrite rules, but you can use only 16 EXP rewrite rules on switch interfaces at any given time.


The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

interface—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 11.1.

EXP statement introduced in Junos OS Release 12.3 for the QFX Series.