R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Command Reference
32
link-aggregation load-sharing mode
Use link-aggregation load-sharing mode to configure the global or group-specific link-aggregation load
sharing criteria.
Use undo link-aggregation load-sharing mode to restore the default setting.
Syntax
link-aggregation load-sharing mode { { destination-ip | destination-mac | source-ip | source-mac } *
| per-packet }
undo link-aggregation load-sharing mode
Default
The default of this command varies with device models.
Views
System view, Layer 2 aggregate interface view, Layer 3 aggregate interface view
Default command 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.
per-packet: Performs per-packet load sharing in link aggregation groups. This keyword is not supported
on Layer 2 aggregate interfaces.
Usage guidelines
The load sharing criteria that you configure will overwrite the previous criteria.
If unsupported load sharing criteria are configured, an error prompt will appear.
Only the destination-ip and source-ip keywords or the destination-mac and source-mac keywords can
be configured together.
Examples
# Configure the source MAC address and destination MAC address as the global link-aggregation load
sharing criteria.
<Sysname> system-view
[Sysname] link-aggregation load-sharing mode source-mac destination-mac
# Configure the destination MAC address as the load sharing criterion specific to the link aggregation
group of aggregate interface Bridge-Aggregation 1.
<Sysname> system-view
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] link-aggregation load-sharing mode destination-mac










