R21xx-HP FlexFabric 11900 Layer 2 LAN Switching Command Reference

90
Description
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. After you disable local-first load sharing for link aggregation, the packets to be forwarded
out of an aggregate interface will be load-shared among all Selected ports of the aggregate interface on
all IRF member devices.
By default, local-first load sharing is enabled for link aggregation.
Local-first load sharing for link aggregation takes effect on only known unicast packets.
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 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 2 aggregate interface view
Predefined user roles
network-admin
Examples
# Configure the aggregation group that corresponds 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
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