Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


dscp-ipv6 (CoS Rewrite Rules)


Hierarchy Level


For IPv6 traffic, apply a DSCP rewrite rule.

Logical interfaces do not support multiple dscp-ipv6 rewrite rules for the same protocol.



Name of a rewrite-rules mapping configured at the [edit class-of-service rewrite-rules dscp-ipv6] hierarchy level.


Default mapping.

protocol mpls

(Optional for ingress MPLS tunnel nodes) Rewrite the MPLS EXP bits in the MPLS header independently of the IPv6 DSCP value for IPv6 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.

Support for protocol mpls option introduced in Junos OS Release 10.4R2.