link-aggregation global load-sharing mode

Use link-aggregation global load-sharing mode to set the global link-aggregation load sharing mode.

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

Syntax

link-aggregation global load-sharing mode { destination-ip | destination-mac | destination-port | ingress-port | source-ip | source-mac | source-port } *

undo link-aggregation global load-sharing mode

Default

The system automatically chooses the global link-aggregation load sharing mode according to the packet type.

The switches can perform link-aggregation load sharing for only Layer 2 or Layer 3 packets.

Views

System view

Predefined user roles

network-admin

Parameters

destination-ip: Load shares traffic based on destination IP addresses.

destination-mac: Load shares traffic based on destination MAC addresses.

destination-port: Load shares traffic based on destination ports.

ingress-port: Load shares traffic based on ingress ports.

source-ip: Load shares traffic based on source IP addresses.

source-mac: Load shares traffic based on source MAC addresses.

source-port: Load shares traffic based on source ports.

Usage guidelines

The load sharing mode that you configure overwrites the previous mode.

If unsupported load sharing mode is configured, an error prompt appears.

In system view, the switch supports the following load sharing mode and combinations:


[NOTE: ]

NOTE:

Packets cannot be load shared based on source MAC addresses when the destination IP addresses of the packets match multiport ARP entries. For more information about multiport ARP entries, see Layer 3IP Services Configuration Guide.


Examples

# Configure the global load sharing mode to load share packets based on destination MAC addresses.

<Sysname> system-view
[Sysname] link-aggregation global load-sharing mode destination-mac

Related commands

display link-aggregation load-sharing mode

link-aggregation global load-sharing algorithm

link-aggregation global load-sharing seed

link-aggregation load-sharing mode