inet-precedence (CoS Rewrite Rules)
Syntax
inet-precedence (rewrite-name | default) protocol (inet-both | inet-outer | mpls);
Hierarchy Level
[edit class-of-service interfaces interface-name unit logical-unit-number rewrite-rules]
Description
Apply an IPv4 precedence rewrite rule.
Options
rewrite-name |
Name of a |
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. |
protocol inet-both |
Rewrite the inet-precedence CoS value to both the inner and outer header for Unicast/Multicast IPv4 traffic. The first three bits of the CoS value are rewritten and the final six bits are taken from the incoming CoS value. |
protocol inet-outer |
Rewrite the inet-precedence CoS value to the outer header for Unicast/Multicast IPv4 traffic. The first three bits of the CoS value are rewritten and the final six bits are taken from the incoming CoS value. |
protocol mpls |
(Optional for ingress MPLS tunnel nodes) Rewrite the MPLS EXP bits in the MPLS header independently of the IPv4 DSCP value for IPv4 packets entering an MPLS tunnel. |
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.