54
Configuring load sharing for link aggregation
groups
This section explains how to configure the load sharing modes for link aggregation groups and how
to enable local-first load sharing for link aggregation.
Setting load sharing modes for link aggregation groups
You can set the global or group-specific load sharing mode. A link aggregation group preferentially
uses the group-specific load sharing mode. If the group-specific load sharing mode is not available,
the group uses the global load sharing mode.
Setting the global link-aggregation load sharing mode
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Set the global
link-aggregation load
sharing mode.
link-aggregation global load-sharing
mode
{
destination-ip
|
destination-mac
|
destination-port
|
ingress-port
|
ip-protocol
|
source-ip
|
source-mac
|
source-port
} *
The default settings are as
follows:
•
Layer 2 traffic is distributed
based on the Ethernet type,
source and destination MAC
address, and source port.
•
IPv4 or IPv6 traffic is
distributed based on the
source and destination IP
addresses, source and
destination ports, and
protocol number.
•
MPLS traffic with three or
fewer layers of labels is
distributed based on the
source and destination IP
addresses, source and
destination ports, and
protocol number. MPLS
traffic with more than three
layers of labels is distributed
based on the source and
destination IP addresses.
The device supports any
combinations of the keywords.
Destination or source MAC
address-based load sharing does
not take effect on Layer 3 packets.
Setting the group-specific load sharing mode
Step Command Remarks
1.
Enter system view.
system-view
N/A
2.
Enter aggregate interface
view.
•
Enter Layer 2 aggregate
interface view:
interface bridge-aggregation
interface-number
•
Enter Layer 3 aggregate
interface view:
N/A