Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


rewrite-rules (CoS Interfaces)


Hierarchy Level


Associate a rewrite-rules configuration or default mapping with a specific interface.


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

  • default—The default mapping.

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 Release 8.5 of Junos OS.

The option to apply IEEE 802.1 rewrite rules to both inner and outer VLAN tags introduced for SRX Series devices in Junos OS Release 18.1.