52Interface Mode Ports Ports Type-------------------------------------------------------------------------------BAGG1 D 0x8000, 000f-e2ff-0002 3 0 SharThe output shows that link aggregation group 1 is a load shared Layer 2 dynamic aggregation groupand it contains three Selected ports.# Display the global link-aggregation load sharing criteria on Device A.[DeviceA] display link-aggregation load-sharing modeLink-Aggregation Load-Sharing Mode:destination-mac address, source-mac addressThe output shows that all link aggregation groups created on the device perform load sharing based onsource and destination MAC addresses.Layer 2 aggregation load sharing configuration exampleNetwork requirementsAs shown in Figure 13:• Device A and Device B are connected by their Layer 2 Ethernet interfaces GigabitEthernet 1/0/1through GigabitEthernet 1/0/4.• Configure two Layer 2 static link aggregation groups (1 and 2) on Device A and Device Brespectively, and enable VLAN 10 at one end of the aggregate link to communicate with VLAN 10at the other end, and VLAN 20 at one end to communicate with VLAN 20 at the other end.• Configure the load sharing criterion for link aggregation group 1 as the source MAC addresses ofpackets and the load sharing criterion for link aggregation group 2 as the destination MACaddresses of packets to enable traffic to be load-shared across aggregation group member ports.Figure 13 Network diagram for Layer 2 aggregation load sharing configurationConfiguration procedure1. Configure Device A# Create VLAN 10, and assign port GigabitEthernet 1/0/5 to VLAN 10. system-view[DeviceA] vlan 10[DeviceA-vlan10] port gigabitethernet 1/0/5