traffic-class (Tunnels)
Syntax
traffic-class traffic-class-value;
Hierarchy Level
[edit interfaces gre-interface name unit unit number tunnel ] [edit logical-systems logical-system-name interfaces gre-interface-name unit unit number tunnel]
Description
Configure a static ToS/Traffic Class value in the IPv4/IPv6 header, respectively, of a GRE tunnel. This can be useful, for example, when you want to apply a different classification to port-mirrored traffic than the source traffic.
This setting overrides ToS reflection set by copying the inner IP header’s ToS value to the outer IP packet header.
If rewrite rules are configured on the egress WAN interface,
those rewrite rules will overwrite this setting. Therefore the traffic-class
setting only makes sense when no rewrite rules
are configured.
Options
traffic-class-value | The value represents the entire 8-bit differentiated services (DS)
field in the IP header, and should be chosen based on the desired
DSCP/IP precedence value. For example, if a DSCP value of
|
Required Privilege Level
interface
Release Information
Statement introduced before Junos OS Release 11.2R1.