50
Step Command Remarks
2. 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.
3. Exit to system view.
quit
N/A
4. Assign an interface to the
specified Layer 2
aggregation group.
a Enter Layer 2 Ethernet
interface view:
interface interface-type
interface-number
b Assign the interface to the
specified Layer 2
aggregation group:
port link-aggregation
group group-id
Repeat these two substeps to
assign more Layer 2 Ethernet
interfaces to the aggregation
group.
5. (Optional.) Set the port
priority for the interface.
link-aggregation port-priority
priority
The default port priority of an
interface is 32768.
Configuring a Layer 2 dynamic aggregation group
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Set the system LACP priority.
lacp
system-priority
priority
By default, the system LACP
priority is 32768.
Changing the system LACP
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.
4. Configure the aggregation
group to operate in dynamic
mode.
link-aggregation mode dynamic
By default, an aggregation group
operates in static mode.
5. Exit to system view.
quit
N/A
6. Assign an interface to the
specified Layer 2
aggregation group.
a Enter Layer 2 Ethernet
interface view:
interface interface-type
interface-number
b Assign the interface to the
specified Layer 2
aggregation group:
port link-aggregation
group group-id
Repeat these two substeps to
assign more Layer 2 Ethernet
interfaces to the aggregation
group.
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. Set the port priority for the
interface.
link-aggregation port-priority
priority
The default setting is 32768.