52
Ethernet link aggregation configuration examples
In an aggregation group, only ports that have the same port attributes and class-two configurations (see
"
") as the reference port (see "
") can operate as Selected ports.
Make sure that all member ports have the same port attributes and class-two configurations as the
reference port. The other settings only need to be configured on the aggregate interface, not on the
member ports.
Layer 2 static aggregation configuration example
Network requirements
As shown in
:
•
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 static aggregation group on both Device A and Device B. 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 the source and
destination MAC addresses.
Figure 14
Network diagram
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.