55
Step Command Remarks
interface route-aggregation
interface-number
3.
Set the load sharing mode
for the aggregation group.
link-aggregation load-sharing
mode
flexible
By default, the group-specific
load sharing mode is the same
as the global load sharing mode.
Aggregate interfaces support
only per-packet load sharing.
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.
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
.
Figure 12 Load sharing for multidevice link aggregation in an IRF fabric
To enable local-first load sharing for link aggregation:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable local-first load
sharing for link aggregation.
link-aggregation load-sharing
mode
local-first
By default, local-first load sharing
for link aggregation is enabled.
Configuring link aggregation load sharing algorithm settings
To optimize traffic distribution on aggregate links, you can configure a link aggregation load sharing
algorithm.
Any Selected ports on the
ingress device?
Local-first load sharing
mechanism enabled?
Yes
No
Yes
No
The egress port for a traffic flow is an
aggregate interface that has Selected
ports on different IRF member devices
Packets are load-shared only
across the Selected ports on the
ingress device
Packets are load-shared across
all Selected ports