49
•
Destination IP address
•
Source MAC address
•
Destination MAC address
•
Source IP address and destination IP address
•
Source IP address and source port
•
Destination IP address and destination port
•
Source IP address, source port, destination IP address, and destination port
•
Any combination of incoming port, source MAC address, and destination MAC address
Configuring group-specific load-sharing criteria
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2
aggregate interface
view.
interface bridge-aggregation
interface-number
N/A
3.
Configure the
load-sharing criteria for
the aggregation group.
link-aggregation load-sharing mode
{
destination-ip
|
destination-mac
|
source-ip
|
source-mac
} *
The default load-sharing criteria are
the same as the global load-sharing
criteria.
In Layer 2 aggregate interface view, the switch supports the following load-sharing criteria and
combinations:
•
Load-sharing criteria automatically determined based on the packet type
•
Source IP address
•
Destination IP address
•
Source MAC address
•
Destination MAC address
•
Destination IP address and source IP address
•
Destination MAC address and source MAC address
Enabling local-first load sharing for link aggregation
Use the local-first load sharing mechanism in a cross-switch link aggregation scenario to distribute traffic
preferentially across member ports on the ingress switch rather than all member ports.
When you aggregate ports on different member switches 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
.