Step
2.
Configure the
global
link-aggregation
load-sharing
criteria.
In system 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
Source IP address and destination IP address
•
Source MAC address and destination MAC address
•
Configuring group-specific load-sharing criteria
Step
1.
Enter system view.
2.
Enter Layer 2
aggregate interface
view.
3.
Configure the
load-sharing criteria for
the aggregation group.
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-card or cross-switch link aggregation scenario to
distribute traffic preferentially across member ports on the ingress card or 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
Configuration Guide.
Command
link-aggregation load-sharing
mode { destination-ip |
destination-mac | source-ip |
source-mac } *
Command
system-view
interface bridge-aggregation
interface-number
link-aggregation load-sharing mode
{ { destination-ip | destination-mac |
source-ip | source-mac } * }
41
Remarks
By default, the system selects the global load
sharing criteria according to the packet type.
Remarks
N/A
N/A
The default load-sharing criteria are
the same as the global load-sharing
criteria.
Figure
8. For more information about IRF, see IRF