link-aggregation load-sharing mode
Use link-aggregation load-sharing mode to set the link-aggregation load sharing mode.
Use undo link-aggregation load-sharing mode to restore the default.
Syntax
link-aggregation load-sharing mode { destination-ip | destination-mac | source-ip | source-mac } *
undo link-aggregation load-sharing mode
Default
The load sharing mode is the same as the global load sharing mode.
Views
Layer 2 aggregate interface view
Predefined user roles
network-admin
Parameters
destination-ip: Load shares traffic based on destination IP addresses.
destination-mac: Load shares traffic based on destination MAC addresses.
source-ip: Load shares traffic based on source IP addresses.
source-mac: Load shares traffic based on source MAC addresses.
Usage guidelines
The load sharing mode that you configure overwrites the previous mode.
If an unsupported load sharing mode is configured, an error prompt appears.
In Layer 2 aggregate interface view, the switch supports the following load sharing mode and combinations:
Load sharing mode automatically determined based on the packet type.
Source IP address.
Destination IP address.
Source MAC address.
NOTE: Packets cannot be load shared based on source MAC addresses when the destination IP addresses of the packets match multiport ARP entries. For more information about multiport ARP entries, see Layer 3—IP Services Configuration Guide. | ||
Destination MAC address.
Destination IP address and source IP address.
Destination MAC address and source MAC address.
Examples
# Configure Layer 2 aggregation group 1 to load share packets based on destination MAC addresses.
<Sysname> system-view [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] link-aggregation load-sharing mode destination-mac
Related commands
link-aggregation global load-sharing mode