
86
Parameters
None
Description
Use the
link-aggregation mode dynamic
command to configure an aggregation group to work in
dynamic aggregation mode.
Use the
undo link-aggregation mode
command to restore the default.
By default, an aggregation group works 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 work in dynamic
aggregation mode.
<Sysname> system-view
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] link-aggregation mode dynamic
port link-aggregation group
Syntax
port link-aggregation group
number
undo port link-aggregation group
View
Ethernet interface view
Default level
2: System level
Parameters
number
: Specifies an aggregate interface number corresponding to an aggregation group, ranging
from 1 to 128.
Description
Use the
port link-aggregation group
command to assign the current Ethernet interface to the specified
aggregation group.
Use the
undo port link-aggregation group
command to remove the current Ethernet interface from the
aggregation group to which it belongs.
An Ethernet interface can belong to only one aggregation group.
To achieve optimal load sharing effect, ensure that a link aggregation group contains only one type of
port. For example, specify only Gigabit Ethernet ports or 10-Gigabit Ethernet ports.
Examples
# Assign Layer 2 Ethernet interface GigabitEthernet 1/0/1 to Layer 2 aggregation group 1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port link-aggregation group 1