1-11
Figure 1-1
Network diagram for Layer-2 static aggregation
Device A
Link aggregation
Device B
Configuration procedure
1) Configure Device A
# Configure the device to perform load sharing based on source and destination MAC addresses for link
aggregation groups.
<DeviceA> system-view
[DeviceA] link-aggregation load-sharing mode source-mac destination-mac
# Create Layer-2 aggregate interface Bridge-aggregation 1.
[DeviceA] interface bridge-aggregation 1
[DeviceA-Bridge-Aggregation1] quit
# Assign Ethernet interfaces GigabitEthernet1/0/1 through GigabitEthernet1/0/3 to aggregation group
1.
[DeviceA] interface gigabitethernet 1/0/1
[DeviceA-GigabitEthernet1/0/1] port link-aggregation group 1
[DeviceA-GigabitEthernet1/0/1] quit
[DeviceA] interface gigabitethernet 1/0/2
[DeviceA-GigabitEthernet1/0/2] port link-aggregation group 1
[DeviceA-GigabitEthernet1/0/2] quit
[DeviceA] interface gigabitethernet 1/0/3
[DeviceA-GigabitEthernet1/0/3] port link-aggregation group 1
2) Configure Device B
Follow the same configuration procedure performed on Device A to configure Device B.
Layer-2 Dynamic Aggregation Configuration Example
Network requirements
As shown in
Figure 1-2
, Device A and Device B are connected through their respective Ethernet ports
GigabitEthernet1/0/1 to GigabitEthernet1/0/3.
Aggregate the ports on each device to form a dynamic link aggregation group, thus balancing
incoming/outgoing traffic across the member ports. In addition, perform load sharing based on source
and destination MAC addresses.