R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide

31
The output shows that link aggregation group 1 is a load-shared Layer 3 dynamic aggregation
group and it contains three Selected ports.
# Display the global link-aggregation load-sharing criteria on Router A.
[RouterA] display link-aggregation load-sharing mode
Link-Aggregation Load-Sharing Mode:
destination-ip address, source-ip address
The output shows that the global link-aggregation load-sharing criteria are the source and
destination IP addresses of packets.
Layer 3 aggregation load sharing configuration example
Network requirements
Configure two Layer 3 static aggregation groups (1 and 2) on Router A and Router B in Figure 12, and
configure IP addresses and subnet masks for the corresponding Layer 3 aggregate interfaces.
Configure link aggregation group 1 to perform load sharing based on source IP address and link
aggregation group 2 to perform load sharing based on destination IP address.
Figure 12 Network diagram
Configuration procedure
1. Configure Router A:
# Create Layer 3 aggregate interface Route-Aggregation 1, configure it to perform load sharing
based on source IP address, and configure an IP address and subnet mask for the aggregate
interface.
<RouterA> system-view
[RouterA] interface route-aggregation 1
[RouterA-Route-Aggregation1] link-aggregation load-sharing mode source-ip
[RouterA-Route-Aggregation1] ip address 192.168.1.1 24
[RouterA-Route-Aggregation1] quit
# Assign Layer 3 Ethernet interfaces GigabitEthernet 4/0/1 and GigabitEthernet 4/0/2 to
aggregation group 1.
[RouterA] interface GigabitEthernet 4/0/1
[RouterA-GigabitEthernet4/0/1] port link-aggregation group 1
[RouterA-GigabitEthernet4/0/1] quit
[RouterA] interface GigabitEthernet 4/0/2
[RouterA-GigabitEthernet4/0/2] port link-aggregation group 1
[RouterA-GigabitEthernet4/0/2] quit
# Create Layer 3 aggregate interface Route-Aggregation 2, configure its link aggregation group
to perform load sharing based on destination IP address, and configure an IP address and subnet
mask for the aggregate interface.
GE4/0/2
GE4/0/1
GE4/0/3
Link aggregation 1
Router A Router B
Link aggregation 2
GE4/0/4
GE4/0/2
GE4/0/1
GE4/0/3
GE4/0/4
RAGG2
192.168.2.1/24
RAGG2
192.168.2.2/24
192.168.1.1/24
RAGG1
192.168.1.2/24
RAGG1