< Home

Adding Physical Interfaces to an Eth-Trunk Interface

After creating an Eth-Trunk interface, add physical interfaces to the Eth-Trunk interface to increase link bandwidth, improve reliability, and carry out load balancing.

Context

An interface can be added to one Eth-Trunk interface only. If the physical interface needs to be added to other Eth-Trunk interfaces, you should remove it from the former Eth-Trunk interface.

FW cannot add MEth0/0/0 to the Eth-Trunk.

Two HA interfaces on the device are added to the Eth-Trunk65535 interface by default and cannot be removed from it. Other interfaces can be added to the Eth-Trunk65535 interface. The HA interface can be used only in the following scenarios.
  • Hot standby scenario: as a heartbeat interface
  • Cross-DC cluster scenario: as a data backup interface

Procedure

  • Configure either of the following methods:
    • In the Eth-Trunk interface view:

      1. Run system-view, The system view is displayed.
      2. Run interface eth-trunk trunk-id. The Eth-Trunk interface view is displayed.
      3. Run either of the following commands to add physical interfaces to the Eth-Trunk interface.
        • To add a single physical interface to the Eth-Trunk interface, run the trunkport interface-type interface-number command.

        • To add multiple physical interfaces to the Eth-Trunk interface in batches, run the trunkport interface-type { interface-number1 [ to interface-number2 ] } command.

    • In the member interface view:

      1. Run system-view The system view is displayed.
      2. Run interface interface-type interface-number The view of the interface to be added to the Eth-Trunk interface is displayed.
      3. Run eth-trunk trunk-id The interface is added to the Eth-Trunk interface.

        Note the following points when adding physical interfaces to an Eth-Trunk interface:

        • Member interfaces cannot have any services or Layer-3 configurations, such as IP addresses.

        • Member interfaces cannot have static MAC addresses.

        • Eth-Trunk interfaces cannot be added to Eth-Trunk interfaces.

        • An Ethernet interface can be added to only one Eth-Trunk interface. Delete an Ethernet interface in an existing Eth-Trunk interface before adding it to another Eth-Trunk interface.

        • If the interfaces to be added to an Eth-Trunk interface are Layer-2 interfaces on the FW, run the undo portswitch command to change the interfaces to Layer-3 interfaces before adding them to the Eth-Trunk interface.

        • An Eth-Trunk interface can work in either Layer-2 or Layer-3 mode. Changing the working mode of an Eth-Trunk interface has no impact on interface addition to the Eth-Trunk interface. For example, Ethernet interfaces can be added to either Layer-2 or Layer-3 Eth-Trunk interfaces.

        • If a member interface of an Eth-Trunk interface is connected to the peer device, the directly connected interface on the peer must also be a member interface of the Eth-Trunk interface; otherwise, the devices cannot communicate with each other.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >