79
link-aggregation load-sharing mode
Use
link-aggregation load-sharing mode
to configure the global or group-specific link-aggregation load
sharing mode.
Use
undo link-aggregation load-sharing mode
to restore the default.
Syntax
link-aggregation load-sharing mode
{
destination-ip
|
destination-mac
|
source-ip
|
source-mac
} *
undo link-aggregation load-sharing mode
Default
The global or group-specific link-aggregation load sharing mode is source and destination MAC
addresses.
Views
System view, Layer 2 aggregate interface view
Default command level
2: System level
Parameters
destination-ip
: Load shares traffic based on destination IP addresses.
destination-mac
: Load shares traffic based on destination MAC addresses.
source-ip
: Load shares traffic based on source IP addresses.
source-mac
: Load shares traffic based on source MAC addresses.
Usage guidelines
The load sharing mode that you configure overwrites the previous mode.
Examples
# Configure the global link-aggregation load sharing mode to load share packets based on source MAC
addresses and destination MAC addresses.
<Sysname> system-view
[Sysname] link-aggregation load-sharing mode source-mac destination-mac
# Configure Layer 2 aggregation group 1 to load share packets based on destination MAC addresses.
<Sysname> system-view
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] link-aggregation load-sharing mode destination-mac
link-aggregation mode
Use
link-aggregation mode dynamic
to configure an aggregation group to operate in dynamic
aggregation mode.
Use
undo link-aggregation mode
to restore the default.
Syntax
link-aggregation mode dynamic
undo link-aggregation mode