load-balance hash-fields l3vxlan-vni enable

Function

The load-balance hash-fields l3vxlan-vni enable command enables the load balancing function for VXLAN Layer 3 forwarding.

The undo load-balance hash-fields l3vxlan-vni enable restores the default configuration.

By default, load balancing for VXLAN Layer 3 forwarding is not enabled.

Format

load-balance hash-fields l3vxlan-vni enable

undo load-balance hash-fields l3vxlan-vni enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
forwarding write

Usage Guidelines

Usage Scenario

In a Layer 3 VXLAN forwarding scenario, this command can be used to enable load balancing. The load balancing function is implemented using the hash algorithm on the upstream interface board. Traffic is hashed based on traffic characteristics, which are called hash factors. By default, the calculation is performed based on VNIs+user source and destination IP addresses. After this command is run, the calculation is performed based on VNIs. If hash factors are more hashable, traffic will be more evenly load-balanced. The device has default values of the hash factors used for load balancing of different service types of packets. Traffic is load balanced based on the default hash factors depending on the service types of packets on the upstream interface board. To implement load balancing better, configure hash factors based on traffic types.

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

Example

# Enable load balancing for VXLAN Layer 3 forwarding.
<HUAWEI> system-view
[~HUAWEI] load-balance hash-fields l3vxlan-vni enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >