•
Device A and Device B are connected through their respective Layer 2 Ethernet interfaces Ethernet
1/0/1 through Ethernet 1/0/3.
•
Configure a Layer 2 dynamic link aggregation group on Device A and Device B, respectively.
Enable VLAN 10 at one end of the aggregate link to communicate with VLAN 10 at the other end,
and VLAN 20 at one end to communicate with VLAN 20 at the other end.
•
Enable traffic to be load-shared across aggregation group member ports based on source and
destination MAC addresses.
Figure 9
Network diagram for Layer 2 dynamic aggregation
Eth1/0/2
Eth1/0/1
Eth1/0/3
Link aggregation 1
Eth1/0/2
Eth1/0/1
Eth1/0/3
BAGG1
BAGG1
Device A
Device B
VLAN 10
VLAN 20
Eth1/0/4
Eth1/0/5
VLAN 10
VLAN 20
Eth1/0/4
Eth1/0/5
Configuration procedure
1.
Configure Device A
# Create VLAN 10, and assign port Ethernet 1/0/4 to VLAN 10.
<DeviceA> system-view
[DeviceA] vlan 10
[DeviceA-vlan10] port ethernet 1/0/4
[DeviceA-vlan10] quit
# Create VLAN 20, and assign port Ethernet 1/0/5 to VLAN 20.
[DeviceA] vlan 20
[DeviceA-vlan20] port ethernet 1/0/5
[DeviceA-vlan20] quit
# Create Layer 2 aggregate interface Bridge-aggregation 1, and configure the link aggregation mode
as dynamic.
[DeviceA] interface bridge-aggregation 1
[DeviceA-Bridge-Aggregation1] link-aggregation mode dynamic
# Assign ports Ethernet 1/0/1 through Ethernet 1/0/3 to link aggregation group 1 one at a time.
[DeviceA] interface ethernet 1/0/1
[DeviceA-Ethernet1/0/1] port link-aggregation group 1
[DeviceA-Ethernet1/0/1] quit
[DeviceA] interface ethernet 1/0/2
[DeviceA-Ethernet1/0/2] port link-aggregation group 1
[DeviceA-Ethernet1/0/2] quit
[DeviceA] interface ethernet 1/0/3
[DeviceA-Ethernet1/0/3] port link-aggregation group 1
41