Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


inet-precedence (Dynamic Rewrite Rules)


Hierarchy Level


Apply a IPv4 precedence rewrite rule.


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

default—The default mapping. By default, IP precedence rewrite rules alter the first three bits on the type of service (ToS) byte while leaving the last three bits unchanged.

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 10.1.