Currently, when you configure load-balancing link aggregation groups in system view, the switch
supports configuring hash keys in the following modes:
Use a source IP address, a destination IP address, a source MAC address, or a destination MAC
address alone as a hash key.
Combine a source IP address and a destination IP address, a source IP address and a source port
number, a destination IP address and a destination port number, or a source MAC address and
destination MAC address to form a hash key.
Combine any two or all three of the following elements to form a hash key: ingress port number,
source MAC address, and destination MAC address.
Configuring a load sharing mode for a link aggregation group
Follow these steps to configure a load sharing mode specific to a link aggregation group:
To do...
Enter system view
Enter aggregate interface
view
Configure the load sharing
mode for the aggregation
group
Currently, when you configure load-balancing link aggregation groups in Layer 2 aggregate interface
view, the switch supports configuring hash keys in the following modes:
Use a source IP address, a destination IP address, a source MAC address, a destination MAC
address, or a mpls-label1 alone as a hash key.
Combine a source IP address and a destination IP address, a source MAC address and destination
MAC address, a mpls-label1 and mpls-label2 to form a hash key.
Use the command...
system-view
interface bridge-aggregation
interface-number
link-aggregation
load-sharing mode
{ destination-ip |
destination-mac |
mpls-label1 | mpls-label2 |
source-ip | source-mac } *
1-12
Remarks
—
—
Required
By default, the load sharing mode of
an aggregation group is the global
load sharing mode.
This command applies only to the
load sharing mode of Layer 3
packets. After you configure this
command, the Layer 3 load sharing
modes in current link aggregation
group change accordingly, but the
Layer 2 load sharing modes will not
be affected. The permanent
source/destination MAC addresses
will still be used as the hash keys.