rewrite-rules (Definition)
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)
[edit class-of-service],
Hierarchy Level (Rewrite Rule Association with Interface)
[edit class-of-service interfaces interface-name unit logical-unit-number]
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 up to 64 EXP rewrite rules, but you can use only 16 EXP rewrite rules on switch interfaces at any given time.
Options
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.