load-balance hash-arithmetic random

Function

The load-balance hash-arithmetic random command specifies a hash algorithm to be random on the interface board.

The undo load-balance hash-arithmetic command restores the default configuration.

By default, random is used on the interface board and second-hash is disabled.

Format

load-balance hash-arithmetic random

undo load-balance hash-arithmetic

Parameters

None

Views

Slot view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
forwarding write

Usage Guidelines

Usage Scenario

There are three types of hash algorithms to implement traffic load balancing.

In two-level load balancing, hash algorithms cannot be configured the same for the first- and second-level load balancing on the router. If they are configured the same, the second-level load balancing does not take effect.

Configuration Impact

The load-balance hash-arithmetic command is cyclic in nature, and only the latest configuration takes effect. After the command is configured, the new hash algorithm takes effect on the interface board to perform traffic load balancing.

Precautions

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

Example

# Specify the hash algorithm to be random on the interface board.
<HUAWEI> system-view
[~HUAWEI] slot 1
[*HUAWEI-slot-1] load-balance hash-arithmetic random
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >