43
[DeviceA-Bridge-Aggregation1] quit
# Configure Device A to use the source and destination MAC addresses of packets as the
global link-aggregation load-sharing criteria.
[DeviceA] link-aggregation load-sharing mode source-mac destination-mac
2.
Configure Device B in the same way Device A is configured.
Verifying the configuration
# Display summary information about all aggregation groups on Device A.
[DeviceA] display link-aggregation summary
Aggregation Interface Type:
BAGG -- Bridge-Aggregation, RAGG -- Route-Aggregation
Aggregation Mode: S -- Static, D -- Dynamic
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Actor System ID: 0x8000, 000f-e2ff-0001
AGG AGG Partner ID Select Unselect Share
Interface Mode Ports Ports Type
-------------------------------------------------------------------------------
BAGG1 S none 3 0 Shar
The output shows that link aggregation group 1 is a load-shared Layer 2 static aggregation group
and it contains three Selected ports.
# Display the global link-aggregation load-sharing criteria on Device A.
[DeviceA] display link-aggregation load-sharing mode
Link-Aggregation Load-Sharing Mode:
destination-mac address, source-mac address
The output shows that all link aggregation groups created on the device perform load sharing based
on source and destination MAC addresses.
Layer 2 dynamic 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 dynamic 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 source and
destination MAC addresses.