link-aggregation load-sharing mode

Syntax

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

undo link-aggregation load-sharing mode

View

System view

Default level

2: System level

Parameters

destination-ip: Performs load sharing in link aggregation groups based on destination IP address.

destination-mac: Performs load sharing in link aggregation groups based on destination MAC address.

source-ip: Performs load sharing in link aggregation groups based on source IP address.

source-mac: Performs load sharing in link aggregation groups based on source MAC address.

Description

Use link-aggregation load-sharing mode to configure the global link-aggregation load sharing criteria.

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

By default, the system selects the load sharing criteria according to the packet type.

This command applies to only unicast packets, and can change the load sharing criteria for unicast packets. Broadcast packets and multicast packets always use the default load sharing criteria.

The load sharing criteria that you configure will overwrite the previous criteria.

If unsupported load sharing criteria are configured, an error prompt will appear.

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

Examples

# Configure the destination MAC address as the global link-aggregation load sharing criterion.

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