Layer 3 dynamic aggregation configuration example

Network requirements

On the network shown in Figure 11, perform the following tasks:

Figure 11: Network diagram

Configuration procedure

  1. Configure Device A:

    # Create Layer 3 aggregate interface Route-Aggregation 1.

    <DeviceA> system-view
    [DeviceA] interface route-aggregation 1
    

    # Set the link aggregation mode to dynamic.

    [DeviceA-Route-Aggregation1] link-aggregation mode dynamic
    

    # Configure an IP address and subnet mask for Route-Aggregation 1.

    [DeviceA-Route-Aggregation1] ip address 192.168.1.1 24
    [DeviceA-Route-Aggregation1] quit
    

    # Assign Layer 3 Ethernet interfaces GigabitEthernet 2/1/1 through GigabitEthernet 2/1/3 to aggregation group 1.

    [DeviceA] interface gigabitethernet 2/1/1
    [DeviceA-GigabitEthernet2/1/1] port link-aggregation group 1
    [DeviceA-GigabitEthernet2/1/1] quit
    [DeviceA] interface gigabitethernet 2/1/2
    [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. (Details not shown.)

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, I -- Individual
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: Dynamic
Loadsharing Type: NonS
System ID: 0x8000, 000f-e267-6c6a
Local:
  Port             Status  Priority Oper-Key  Flag
--------------------------------------------------------------------------------
  GE2/1/1          S       32768    1         {ACDEF}
  GE2/1/2          S       32768    1         {ACDEF}
  GE2/1/3          S       32768    1         {ACDEF}
Remote:
  Actor            Partner Priority Oper-Key  SystemID               Flag
--------------------------------------------------------------------------------
  GE2/1/1          1       32768    1         0x8000, 000f-e267-57ad {ACDEF}
  GE2/1/2          2       32768    1         0x8000, 000f-e267-57ad {ACDEF}
  GE2/1/3          3       32768    1         0x8000, 000f-e267-57ad {ACDEF}

The output shows that link aggregation group 1 is a Layer 3 dynamic aggregation group that contains three Selected ports.