2-13
[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 Aggregation Load Sharing Mode Configuration Example
Network requirements
As shown in
Figure 2-3
, Device A is connection to Device B by their Ethernet ports GigabitEthernet
1/0/1 through GigabitEthernet 1/0/4.
Configure the global load sharing mode and aggregation group-specific load sharing mode to enable
aggregation group 1 to use source MAC-based load sharing mode and aggregation group 2 to use
destination MAC-based load sharing mode.
Figure 2-3
Network diagram for Layer 2 aggregation load sharing mode configuration
GE1
/0/1
GE1
/0/2
GE1
/0/3
GE1
/0/4
GE1
/0/1
GE1/0/2
GE1/0/3
GE
1/0
/4
Configuration procedure
1) Configure
Device
A
# Configure the global link aggregation load sharing mode as the source MAC-based load sharing
mode.
<DeviceA> system-view
[DeviceA] link-aggregation load-sharing mode source-mac
# Create Layer 2 aggregate interface Bridge-aggregation 1.
[DeviceA] interface bridge-aggregation 1
[DeviceA-Bridge-Aggregation1] quit
# Assign ports GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 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
# Create a Layer 2 aggregate interface Bridge-Aggregation 2 and configure the load sharing mode of
aggregation group 2 as the destination MAC-based load sharing mode.