load-balance hash-fields tunnel-inner-ip enable

Function

The load-balance hash-fields tunnel-inner-ip enable command enables load balancing based on inner IP packets transmitted over an SRv6.

The undo load-balance hash-fields tunnel-inner-ip enable command restores the default configuration.

By default, load balancing based on inner IP packets transmitted over an SRv6 is not enabled.

Format

load-balance hash-fields tunnel-inner-ip enable

undo load-balance hash-fields tunnel-inner-ip enable

Parameters

None

Views

Slot view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
forwarding write

Usage Guidelines

Usage Scenario

In a public IP over SRv6 BE/IP over SRv6 TE Policy or private IP over SRv6 BE/IP over SRv6 TE Policy load balancing scenario, the inner information of SRv6 packets transmitted by P nodes is not used as a hash factor by default. After the load-balance hash-fields tunnel-inner-ip enable command is run on the ingress PE of a tunnel, the inner packet information of the SRv6 is mapped to the FlowLabel value of the outer IPv6 packets. The P nodes of SRv6 implement load balancing based on the new hash factor, that is, the FlowLabel value.

In an IPv4 over SRv6 BE/IPv4 over SRv6 TE Policy load balancing scenario, the load balancing can be implemented based on inner IPv4 packets transmitted over an SRv6 only when the inner IP packets carry the GTP, 4over4, 6over4, and GRE information. In an IPv6 over SRv6 BE/IPv6 over SRv6 TE Policy load balancing scenario, the load balancing can be implemented based on inner IPv6 packets transmitted over an SRv6 only when the inner IP packets carry the GTP information.

  • GTP: SIP+DIP+TEID
  • 4over4: inner IPv4 quintuple
  • 6over4: inner IPv6 quintuple
  • GRE: inner IPv4 quintuple

Precautions

After the load-balance hash-fields tunnel-info disable command is run, the load-balance hash-fields tunnel-inner-ip enable command cannot be executed.

After the load-balance hash-fields tunnel-inner-ip enable command is run, the execution of the load-balance hash-fields tunnel-info disable command causes the load-balance hash-fields tunnel-inner-ip enable configuration to be deleted from the device.

In an L3VPN IPv4 accessing SRv6 BE load balancing scenario, by default, common triplet and quintuple information can be mapped to the FlowLabel value of an outer IPv6 packet.

This command does not take effect in EVPN VPLS and EVPN VPWS scenarios.

In VS mode, this command is supported only by the admin VS.

Example

# Enable load balancing based on inner IP packets transmitted over an SRv6 on the board in slot 1.
<HUAWEI> system-view
[~HUAWEI] slot 1
[*HUAWEI-slot-1] load-balance hash-fields tunnel-inner-ip enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >