R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference

32
Usage guidelines
The load sharing criteria that you configure will overwrite the previous criteria.
If unsupported load sharing criteria are configured, an error prompt will appear.
Only the destination-ip and source-ip keywords or the destination-mac and source-mac keywords can
be configured together.
Examples
# Configure the source MAC address and destination MAC address as the global link-aggregation load
sharing criteria.
<Sysname> system-view
[Sysname] link-aggregation load-sharing mode source-mac destination-mac
# Configure the destination MAC address as the load sharing criterion specific to the link aggregation
group of aggregate interface Bridge-Aggregation 1.
<Sysname> system-view
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] link-aggregation load-sharing mode destination-mac
link-aggregation load-sharing mode local-first
Use link-aggregation load-sharing mode local-first to enable local-first load sharing for link
aggregation.
Use undo link-aggregation load-sharing mode local-first to disable local-first load sharing for link
aggregation.
Syntax
link-aggregation load-sharing mode local-first
undo link-aggregation load-sharing mode local-first
Default
Local-first load sharing is enabled for link aggregation.
Views
System view
Default command level
2: System level
Examples
# Disable local-first load sharing for link aggregation.
<Sysname> system-view
[Sysname] undo link-aggregation load-sharing mode local-first
link-aggregation mode
Use link-aggregation mode dynamic to configure an aggregation group to operate in dynamic
aggregation mode.
Use undo link-aggregation mode to restore the default setting.