R3721-F3210-F3171-HP High-End Firewalls High Availability Configuration Guide-6PW101
159
Network requirements
As shown in Figure 71, configure two Layer 2 static aggregation groups (1 and 2) on Device A and
Device B respectively, and 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.
Configure the load sharing criterion for link aggregation group 1 as the source MAC addresses of
packets and the load sharing criterion for link aggregation group 2 as the destination MAC addresses
of packets to enable traffic to be load-shared across aggregation group member ports.
Figure 71 Network diagram
Configuration procedure
1. Configure Device A:
# Create VLAN 10, and assign the port GigabitEthernet 0/5 to VLAN 10.
<DeviceA> system-view
[DeviceA] vlan 10
[DeviceA-vlan10] port gigabitethernet 0/5
[DeviceA-vlan10] quit
# Create VLAN 20, and assign the port GigabitEthernet 0/6 to VLAN 20.
<DeviceA> system-view
[DeviceA] vlan 20
[DeviceA-vlan20] port gigabitethernet 0/6
[DeviceA-vlan20] quit
# Create Layer 2 aggregate interface Bridge-Aggregation 1, and configure the load sharing
criterion for the link aggregation group as the source MAC addresses of packets.
[DeviceA] interface bridge-aggregation 1
[DeviceA-Bridge-Aggregation1] link-aggregation load-sharing mode source-mac
[DeviceA-Bridge-Aggregation1] quit
# Assign ports GigabitEthernet 0/1 and GigabitEthernet 0/2 to link aggregation group 1.
[DeviceA] interface gigabitethernet 0/1
[DeviceA-GigabitEthernet0/1] port link-aggregation group 1
[DeviceA-GigabitEthernet0/1] quit
[DeviceA] interface gigabitethernet 0/2
[DeviceA-GigabitEthernet0/2] port link-aggregation group 1
[DeviceA-GigabitEthernet0/2] quit
GE0/2
GE0/1
GE0/3
Link aggregation 1
BAGG1 BAGG1
Device A Device B
Link aggregation 2
GE0/4
GE0/2
GE0/1
GE0/3
GE0/4
BAGG2 BAGG2
VLAN 10
VLAN 20
GE0/5
GE0/6
VLAN 10
VLAN 20
GE0/5
GE0/6