gtp-header-offset
Syntax
gtp-header-offset offset-value
Hierarchy Level (QFX5000 line of switches)
[edit forwarding-options enhanced-hash-key hash-mode]
Description
You must only provide a decimal value for gtp-header-offset command. As per standards, 0x32 is the default header offset value. But, due to some special patterns in the header, offset may vary like, 0x30, 0x28, and so on. In this case, you need to convert it to a proper offset value as follows:
For Example:
If the offset value is 0x32, the equivalent decimal value is calculated as (16*3+2) which is equal to 50.
If the offset value is 0x30, the equivalent decimal value is calculated as (16*3+0) which is equal to 48.
After setting gtp-header-offset to a proper offset value, run gtp-tunnel-endpoint-identifier command to enable GTP hashing. Refer gtp-tunnel-endpoint-identifier for more details. For example:
If the IPv6 traffic has 0x32 as offset value, then use
set forwarding-options enhanced-hash-key family inet gtp-tunnel-endpoint-identifier
command directly.If the IPv6 traffic has 0x30 as offset value, then you must set proper offset value after enabling GTP hashing as follows:
set forwarding-options enhanced-hash-key family inet gtp-tunnel-endpoint-identifier
set forwarding-options enhanced-hash-key hash-mode gtp-header-offset 48
If the IPv4 traffic has 0x32 as offset value, then use
set forwarding-options enhanced-hash-key family inet gtp-tunnel-endpoint-identifier
command directly.If the IPv4 traffic has 0x30 as offset value, then you must set proper offset value after enabling GTP hashing as follows:
set forwarding-options enhanced-hash-key family inet gtp-tunnel-endpoint-identifier
set forwarding-options enhanced-hash-key hash-mode gtp-header-offset 48
Both IPv4 and IPv6 share same GTP header offset value. If there are two different traffic streams, that is, if IPv4 has value X as offset value and IPv6 has Y as offset value, then hashing will be successful only for one of the traffic stream.
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 17.3R3.