R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Configuration Guide
37
Figure 11 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.
[RouterA] interface route-aggregation 2
[RouterA-Route-Aggregation2] link-aggregation load-sharing mode destination-ip
[RouterA-Route-Aggregation2] ip address 192.168.2.1 24
[RouterA-Route-Aggregation2] quit
# Assign Layer 3 Ethernet interfaces GigabitEthernet 4/0/3 and GigabitEthernet 4/0/4 to
aggregation group 2.
[RouterA] interface GigabitEthernet 4/0/3
[RouterA-GigabitEthernet4/0/3] port link-aggregation group 2
[RouterA-GigabitEthernet4/0/3] quit
[RouterA] interface GigabitEthernet 4/0/4
[RouterA-GigabitEthernet4/0/4] port link-aggregation group 2
[RouterA-GigabitEthernet4/0/4] quit
2. Configure Router B in the same way Router A is configured. (Details not shown.)
3. Verify the configuration:
# Display summary information about all aggregation groups on Router A.
[RouterA] display link-aggregation summary
Aggregation Interface Type:
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










