R0106-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V7)

27
Usage guidelines
The load sharing criteria that you configure overwrites the previous criteria.
If unsupported load sharing criteria are configured, an error prompt appears.
Examples
# Configure the destination IP address as the load sharing criterion that is specific to the link aggregation
group of aggregate interface Route-Aggregation 1.
<Sysname> system-view
[Sysname] interface route-aggregation 1
[Sysname-Route-Aggregation1] link-aggregation load-sharing mode destination-ip
Related commands
link-aggregation global load-sharing mode
link-aggregation mode
Use link-aggregation mode dynamic to configure an aggregation group to operate in dynamic
aggregation mode and enable LACP.
Use undo link-aggregation mode to restore the default setting.
Syntax
link-aggregation mode dynamic
undo link-aggregation mode
Default
An aggregation group operates in static aggregation mode.
Views
Layer 3 aggregate interface view
Predefined user roles
network-admin
Examples
# Configure the aggregation group that corresponds to Route-Aggregation 1 to operate in dynamic
aggregation mode.
<Sysname> system-view
[Sysname] interface route-aggregation 1
[Sysname-Route-Aggregation1] link-aggregation mode dynamic
link-aggregation port-priority
Use link-aggregation port-priority to set the port priority of an interface.
Use undo link-aggregation port-priority to restore the default setting.
Syntax
link-aggregation port-priority port-priority
undo link-aggregation port-priority