R0106-HP MSR Router Series Layer 2 - LAN Switching Configuration Guide(V7)
26
[DeviceA-GigabitEthernet2/1/2] port link-aggregation group 1
[DeviceA-GigabitEthernet2/1/2] quit
[DeviceA] interface gigabitethernet 2/1/3
[DeviceA-GigabitEthernet2/1/3] port link-aggregation group 1
[DeviceA-GigabitEthernet2/1/3] quit
2. Configure Device B in the same way Device A is configured.
Verifying the configuration
# Display detailed information about all aggregation groups on Device A.
[DeviceA] display link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Port Status: S -- Selected, U -- Unselected
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Aggregate Interface: Route-Aggregation1
Aggregation Mode: Static
Loadsharing Type: Shar
Port Status Priority Oper-Key
--------------------------------------------------------------------------------
GE2/1/1 S 32768 1
GE2/1/2 S 32768 1
GE2/1/3 S 32768 1
The output shows that:
• Link aggregation group 1 is a load-shared Layer 3 static aggregation group.
• The aggregation group contains three Selected ports.
Layer 3 dynamic aggregation configuration example
Network requirements
As shown in Figure 5:
• Configure a Layer 3 dynamic aggregation group on both Device A and Device B.
• Configure IP addresses and subnet masks for the corresponding Layer 3 aggregate interfaces.
Figure 5 Network diagram
Configuration procedure
1. Configure Device A:
# Create Layer 3 aggregate interface Route-Aggregation 1.
<DeviceA> system-view
[DeviceA] interface route-aggregation 1