Configuring a dynamic aggregation group

To guarantee a successful dynamic aggregation, make sure that the peer ports of the ports aggregated at one end are also aggregated. The two ends can automatically negotiate the aggregation state of each member port.

Configuring a Layer 2 dynamic aggregation group

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Set the system LACP priority.

lacp system-priority system-priority

By default, the system LACP priority is 32768.

Changing the system LACP priority might affect the aggregation state of the ports in a dynamic aggregation group.

3. Create a Layer 2 aggregate interface and enter Layer 2 aggregate interface view.

interface bridge-aggregation interface-number

When you create a Layer 2 aggregate interface, the system automatically creates a Layer 2 static aggregation group numbered the same.

4. Configure the aggregation group to operate in dynamic aggregation mode.

link-aggregation mode dynamic

By default, an aggregation group operates in static aggregation mode.

5. Exit to system view.

quit

N/A

6. Assign an interface to the specified Layer 2 aggregation group.

  • Enter Layer 2 Ethernet interface view:interface interface-type interface-number

  • Assign the interface to the specified Layer 2 aggregation group:port link-aggregation group number

  • Repeat these two sub-steps to assign more Layer 2 Ethernet interfaces to the aggregation group.

    7. Set the LACP operating mode on the interface.

    • Set LACP to operate in passive mode:lacp mode passive

    • Set LACP to operate in active mode:undo lacp mode

    By default, LACP is operating in active mode.

    8. Configure the port priority for the interface.

    link-aggregation port-priority port-priority

    The default setting is 32768.

    9. Configure the short LACP timeout interval (3 seconds) on the interface.

    lacp period short

    By default, the long LACP timeout interval (90 seconds) is adopted by the interface. The peer sends LACPDUs slowly.

    Do not configure the short LACP timeout interval before performing an ISSU. Otherwise, traffic interruption will occur during the ISSU. For more information about ISSU, see Fundamentals Configuration Guide.

    Configuring a Layer 3 dynamic aggregation group

    Step

    Command

    Remarks

    1. Enter system view.

    system-view

    N/A

    2. Set the system LACP priority.

    lacp system-priority system-priority

    By default, the system LACP priority is 32768.

    Changing the system LACP priority might affect the aggregation state of the ports in the dynamic aggregation group.

    3. Create a Layer 3 aggregate interface and enter Layer 3 aggregate interface view.

    interface route-aggregation interface-number

    When you create a Layer 3 aggregate interface, the system automatically creates a Layer 3 static aggregation group numbered the same.

    4. Configure the aggregation group to operate in dynamic aggregation mode.

    link-aggregation mode dynamic

    By default, an aggregation group operates in static aggregation mode.

    5. Exit to system view.

    quit

    N/A

    6. Assign an interface to the specified Layer 3 aggregation group.

  • Enter Layer 3 Ethernet interface view:interface interface-type interface-number

  • Assign the interface to the specified Layer 3 aggregation group:port link-aggregation group number

  • Repeat these two sub-steps to assign more Layer 3 Ethernet interfaces to the aggregation group.

    7. Set the LACP operating mode on the interface.

    • Set LACP to operate in passive mode:lacp mode passive

    • Set LACP to operate in active mode:undo lacp mode

    By default, LACP is operating in active mode.

    8. Configure the port priority for the interface.

    link-aggregation port-priority port-priority

    The default setting is 32768.

    9. Configure the short LACP timeout interval (3 seconds) on the interface.

    lacp period short

    By default, the long LACP timeout interval (90 seconds) is adopted by the interface. The peer sends LACPDUs slowly.

    Do not configure the short LACP timeout interval before performing an ISSU. Otherwise, traffic interruption will occur during the ISSU. For more information about ISSU, see Fundamentals Configuration Guide.