Examples
# Enable link-aggregation traffic redirection.
<Sysname> system-view
[Sysname] link-aggregation lacp traffic-redirect-notification enable
link-aggregation load-sharing mode
Use link-aggregation load-sharing mode to configure the link-aggregation load sharing criteria for an
aggregation group.
Use undo link-aggregation load-sharing mode to restore the default setting.
Syntax
link-aggregation load-sharing mode { destination-ip | destination-mac | source-ip | source-mac } *
undo link-aggregation load-sharing mode
Default
The default load sharing criteria are the same as the global load sharing criteria.
Views
Aggregate interface view
Predefined user roles
network-admin
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.
Usage guidelines
This command applies to only unicast packets and can change the load sharing criteria for known
unicast packets. Broadcast packets, multicast packets, and unknown unicast packets always use the
default load sharing criteria.
The load sharing criteria that you configure overwrites the previous criteria.
If unsupported load sharing criteria are configured, an error prompt appears.
In 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
•
83