Examples
# Set the system LACP priority to 64.
<Sysname> system-view
[Sysname] lacp system-priority 64
link-aggregation load-sharing mode
Syntax
In system view:
link-aggregation load-sharing mode { destination-ip | destination-mac | source-ip | source-mac } *
undo link-aggregation load-sharing mode
In Layer 2 aggregate interface view:
link-aggregation load-sharing mode { destination-ip | destination-mac | source-ip | source-mac } *
undo link-aggregation load-sharing mode
View
System view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
destination-ip: Performs load sharing in link aggregation groups based on destination IP address.
destination-mac: Performs load sharing in link aggregation groups based on destination MAC address.
source-ip: Performs load sharing in link aggregation groups based on source IP address.
source-mac: Performs load sharing in link aggregation groups based on source MAC address.
Description
Use link-aggregation load-sharing mode to configure the global or group-specific link-aggregation load
sharing criteria.
Use undo link-aggregation load-sharing mode to restore the default setting.
By default, the system selects the load sharing criteria according to the packet type, and the
group-specific link-aggregation load sharing criteria are the same as the global ink-aggregation load
sharing criteria.
This command applies to only unicast packets, and can change the load sharing criteria for unicast
packets. Broadcast packets and multicast packets always use the default load sharing criteria.
The load sharing criteria that you configure will overwrite the previous criteria.
If unsupported load sharing criteria are configured, an error prompt will appear.
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
77