R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide
30
Enable traffic to be load-shared across aggregation group member ports based on source and
destination IP addresses.
Figure 11 Network diagram
Configuration procedure
1. Configure Router A:
# Create Layer 3 aggregate interface Route-Aggregation 1, configure the link aggregation mode
as dynamic, 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 mode dynamic
[RouterA-Route-Aggregation1] ip address 192.168.1.1 24
[RouterA-Route-Aggregation1] quit
# Assign Layer 3 Ethernet interfaces GigabitEthernet 4/0/1 through GigabitEthernet 4/0/3 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
[RouterA] interface GigabitEthernet 4/0/3
[RouterA-GigabitEthernet4/0/3] port link-aggregation group 1
[RouterA-GigabitEthernet4/0/3] quit
# Configure Router A to use the source and destination IP addresses of packets as the global
link-aggregation load-sharing criteria.
[RouterA] link-aggregation load-sharing mode source-ip destination-ip
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:
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
-------------------------------------------------------------------------------
RAGG1 D 0x8000, 000f-e2ff-0002 3 0 Shar