Statement introduced in Junos OS Release 17.2.
For better distribution in load balancing for L2TP tunneled traffic, enable l2tp-tunnel-session-identifier to have the hash calculation of IPv4 packets include L2TP header parameters (tunnel ID and session ID). With this option enabled, Junos OS generates different hashes for packets from different tunnels. It will also generate different hashes for packets that belong to the same tunnel, but different sessions. L2TP control traffic is not load balanced based on tunnel ID and session ID.
When the l2tp-tunnel-session-identifier option is not enabled, the same hash value is computed for L2TP tunneled traffic using the outer IP header, regardless of tunnel (for tunnels created between the same end points).
To help diagnosis load balancing issues, you can run the request pfe execute command "show jnh lb" target target command from the Junos OS command line.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.