link-aggregation global load-sharing algorithm

Use link-aggregation global load-sharing algorithm to configure the per-flow load sharing algorithm for Ethernet link aggregation.

Use undo link-aggregation global load-sharing algorithm to restore the default.

Syntax

link-aggregation global load-sharing algorithm algorithm-number

undo link-aggregation global load-sharing algorithm

Default

Algorithm 0 is used.

Views

System view

Predefined user roles

network-admin

Parameters

algorithm algorithm-number: Specifies an algorithm by its number in the range of 1 to 8.

Usage guidelines

If you execute this command multiple times, the most recent configuration takes effect.

You can configure only the algorithm or the algorithm seed, or both. You can combine an algorithm with different algorithm seeds to obtain different effects.

If the device fails to load share traffic flows across all Selected ports, you can specify algorithm 1 to 8 in sequence until the problem is solved.

Examples

# Specify algorithm 1 as the per-flow load sharing algorithm.

<Sysname> system-view
[Sysname] link-aggregation global load-sharing algorithm 1

Related commands

display link-aggregation load-sharing mode

link-aggregation global load-sharing mode

link-aggregation global load-sharing seed

link-aggregation load-sharing mode