Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


rewrite-rules (Definition)


Hierarchy Level


Specify a rewrite-rules mapping for the traffic that passes through all queues on the interface.


rewrite-name—Name of a rewrite-rules mapping.

type—Traffic type.

  • Values: dscp, dscp-ipv6, exp, ieee-802.1, ieee-802.1ad, inet-precedence, inet6-precedence

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 before Junos OS Release 7.4.

ieee-802.1ad option introduced in Junos OS Release 9.2.