
77
By default, the system selects the load sharing criteria according to the packet type.
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.
•
Destination MAC address.
•
Source IP address and destination IP address.
•
Source MAC address and destination MAC address.
Examples
# Configure the destination MAC address as the global link-aggregation load sharing criterion.
<Sysname> system-view
[Sysname] link-aggregation load-sharing mode destination-mac
link-aggregation mode
Syntax
link-aggregation mode dynamic
undo link-aggregation mode
View
Layer 2 aggregate interface view
Default level
2: System level
Parameters
None
Description
Use the
link-aggregation mode dynamic
command to configure an aggregation group to operate
in dynamic aggregation mode.
Use
undo link-aggregation mode
to restore the default setting.
By default, an aggregation group operates in static aggregation mode.
To change the aggregation mode of an aggregation group that contains member ports, remove all
the member ports from the aggregation group first.
Examples
# Configure the aggregation group corresponding to Bridge-Aggregation 1 to operate in dynamic
aggregation mode.
<Sysname> system-view
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] link-aggregation mode dynamic