load-balance hash-fields tunnel-info disable (slot view)

Function

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.

Format

load-balance hash-fields tunnel-info tunnel-type disable

undo load-balance hash-fields tunnel-info tunnel-type disable

Parameters

Parameter Description Value
tunnel-type

Specifies a tunnel type.

The value can be gtp.

Views

Slot view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
forwarding write

Usage Guidelines

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.

Example

# Disable a device from using tunnel information as a hash factor during hash calculation for GTP packets.
<HUAWEI> system-view
[~HUAWEI] slot 1
[~HUAWEI-slot-1] load-balance hash-fields tunnel-info gtp disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >