The load-balance hash-fields tunnel-info disable command disables a device from using tunnel information as a hash factor during hash calculation for packets of a specified tunnel type.
The undo load-balance hash-fields tunnel-info disable command restores the default configuration.
By default, a device uses tunnel information as a hash factor during hash calculation for packets of a specified tunnel type. The hash factor is SIP+DIP+tunnel ID.
Usage Scenario
In an ESQM scenario, GTP packets are balanced based on tunnel IDs by default. GTP heartbeat packets and data packets are balanced on different paths based on tunnel IDs, which causes inaccurate statistics. To resolve this issue, run the load-balance hash-fields tunnel-info disable command to disable the device from using tunnel information as a hash factor during hash calculation for GTP packets. By default, the device performs hash calculation for GTP packets based on the 5-tuple information. In this way, GTP heartbeat packets and data packets are hashed to the same path based on the 5-tuple information, improving statistics accuracy.
Precautions
Tunnel information needs to be used as a hash factor during hash calculation for packets of a specified tunnel type only when the undo load-balance hash-fields tunnel-info gtp disable command is run in both the system and slot views.
If the load-balance hash-fields tunnel-info gtp disable command is run in the system or slot view, tunnel information does not need to be used as a hash factor during hash calculation for packets of a specified tunnel type.