13
To synchronize the attribute configurations from the aggregate interface when the current
interface joins the aggregation group, specify the
force keyword.
5. (Optional.) Set the port priority of the interface.
link-aggregation port-priority priority
The default port priority of an interface is 32768.
Configuring a Layer 2 dynamic aggregation group
1. Enter system view.
system-view
2. Set the LACP system priority.
lacp system-priority priority
By default, the LACP system priority is 32768.
Changing the LACP system priority might affect the aggregation states of the ports in a dynamic
aggregation group.
3. Create a Layer 2 aggregate interface and enter Layer 2 aggregate interface view.
interface bridge-aggregation interface-number
When you create a Layer 2 aggregate interface, the system automatically creates a Layer 2
static aggregation group numbered the same as that interface.
4. Configure the aggregation group to operate in dynamic mode.
link-aggregation mode dynamic
By default, an aggregation group operates in static mode.
5. Return to system view.
quit
6. Assign an interface to the Layer 2 aggregation group:
a. Enter Layer 2 Ethernet interface view.
interface interface-type interface-number
b. Assign the interface to the Layer 2 aggregation group or enable automatic assignment on
that interface.
port link-aggregation group { group-id [ force ] | auto [ group-id ] }
Repeat these two substeps to assign more Layer 2 Ethernet interfaces to the aggregation
group.
To synchronize the attribute configurations from the aggregate interface when the current
interface joins the aggregation group, specify the
force keyword.
To enable automatic assignment, specify the
auto keyword. As a best practice, do not modify
the configuration on an automatically created aggregate interface or its member ports.
7. Set the LACP operating mode for the interface.
{ Set the LACP operating mode to passive.
lacp mode passive
{ Set the LACP operating mode to active.
undo lacp mode
By default, LACP is operating in active mode.
8. (Optional.) Set the port priority for the interface.
link-aggregation port-priority priority
The default setting is 32768.
9. (Optional.) Set the short LACP timeout interval (3 seconds) for the interface.
lacp period short