49
Step
Command
1.
Enter system view.
system-view
2.
Enter aggregate interface view.
interface bridge-aggregation interface-number
3.
Restore the default settings for the
aggregate interface.
default
Configuring load sharing for link aggregation
groups
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.
Configure the global
link-aggregation load
sharing mode.
link-aggregation global load-sharing
mode
{
destination-ip
|
destination-mac
|
destination-port
|
ingress-port
|
source-ip
|
source-mac
|
source-port
} *
By default, the system
automatically chooses the global
link-aggregation load sharing
mode according to the packet
type.
Setting the group-specific load sharing mode
Step Command Remarks
1.
Enter system view.
system-view
N/A
2.
Enter aggregate interface
view.
interface bridge-aggregation
interface-number
N/A
3.
Configure the load sharing
mode for the aggregation
group.
link-aggregation load-sharing
mode
{
destination-ip
|
destination-mac
|
source-ip
|
source-mac
} *
The default settings are the
same as the global load sharing
mode.
Enabling local-first load sharing for link aggregation
Use local-first load sharing in a multidevice link aggregation scenario to distribute traffic preferentially
across member ports on the ingress card or device.
When you aggregate ports on different member devices in an IRF fabric, you can use local-first load
sharing to reduce traffic on IRF links, as shown in
. For more information about IRF, see
IRF
Configuration Guide
.