Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

rewrite-rules

List of Syntax

Syntax (Rewrite Rule Configuration)
Syntax (Rewrite Rule Association with Interface)

Syntax (Rewrite Rule Configuration)

rewrite-rules {(dscp | dscp-ipv6 | ieee-802.1 | exp) rewrite-name { import (rewrite-name | default); forwarding-class class-name { loss-priority priority code-point (alias | bits);}}}

Syntax (Rewrite Rule Association with Interface)

rewrite-rules {(dscp | dscp-ipv6 | ieee-802.1 | exp) rewrite-name;}

Hierarchy Level (Rewrite Rule Configuration)

Hierarchy Level (Rewrite Rule Association with Interface)

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

Release Information

Statement introduced in Junos OS Release 11.1 for the QFX Series.

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

Description

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 as many EXP rewrite rules as you want, but you can use only 16 EXP rewrite rules on switch interfaces at any given time.

Options

The statements are explained separately.

Required Privilege Level

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

Published: 2014-07-23