No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - Ethernet Switching

CloudEngine 8800, 7800, 6800, and 5800 V200R003C00

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, MUX VLAN, Voice VLAN, VLAN mapping, QinQ, GVRP, VCMP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, and Layer 2 protocol transparent transmission.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Adding Member Interfaces to an Eth-Trunk

Adding Member Interfaces to an Eth-Trunk

Context

You can add member interfaces to an Eth-Trunk in the Eth-Trunk interface view or member interface view.

When adding an interface to an Eth-Trunk, pay attention to the following points:

  • On the CE5810EI, an Eth-Trunk contains a maximum of 8 member interfaces. On the CE6880EI, an Eth-Trunk contains a maximum of 64 member interfaces. On other models, the number of member interfaces in an Eth-Trunk depends on the assign forward eth-trunk mode command. The member interfaces in an Eth-Trunk must have the same type.

  • When member interfaces are added to an Eth-Trunk, they must use the default interface type and cannot be configured with some services or static MAC address entries.
  • Physical Ethernet interfaces, including split interfaces, can be added to an Eth-Trunk. However, logical interfaces such as Layer 3 interfaces, VLANIF interfaces, and Eth-Trunks cannot be added to an Eth-Trunk.
  • An Ethernet interface can be added to only one Eth-Trunk. To add the Ethernet interface to another Eth-Trunk, delete it from the Eth-Trunk first.
  • Different Ethernet interfaces can be added to the same Eth-Trunk interface.

    To enable interfaces operating at different rates to forward traffic after they are added to an Eth-Trunk in LACP mode, run the lacp mixed-rate link enable command.

    When Eth-Trunk member interfaces work at different rates, the active interface is selected as follows: select an Actor based on the system priority and system ID, and then select the active interface based on the port priority and port ID of the Actor. To configure a specific interface as the active interface, run the lacp priority command in the interface view to increase the interface priority.

  • If an interface of the local device is added to an Eth-Trunk, an interface of the remote device directly connected to the interface of the local device must also be added to an Eth-Trunk so that the two ends can communicate.
  • After interfaces are added to an Eth-Trunk, the Eth-Trunk learns MAC addresses and ARP entries but member interfaces do not.
  • Devices at both ends of an Eth-Trunk must use the same number of physical interfaces, interface rate, duplex mode, jumbo and flow control mode.
  • In a stack scenario, it is recommended that the number of member interfaces added to an LAG be the nth power of 2. Otherwise, unknown unicast traffic may be unevenly load balanced.

Procedure

  • Add member interfaces to an Eth-Trunk 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. (Optional) Run lacp mixed-rate link enable

      Interfaces operating at different rates are enabled to forward packets after the interfaces are added to an Eth-Trunk interface in static LACP mode.

      NOTE:

      The rate of the interface added to the Eth-Trunk interface is not limited. For example, 10G and 100G interfaces can be added to the same Eth-Trunk interface.

    4. Run trunkport interface-type { interface-number1 [ to interface-number2 ] } &<1-n>

      NOTE:

      For the CE5810EI, the value of n is 8. For the CE6880EI, the value of n is 64. For other models, the value of n depends on the assign forward eth-trunk mode command.

      A member interface is added to the Eth-Trunk.

      When you add member interfaces to an Eth-Trunk in a batch, if one interface cannot be added to the Eth-Trunk, all subsequent interfaces in the batch cannot be added to the Eth-Trunk, either.

    5. Run commit

      The configuration is committed.

  • Add member interfaces to an Eth-Trunk in the member interface view.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The member interface view is displayed.

    3. Run eth-trunk trunk-id

      The member interface is added to an Eth-Trunk.

    4. Run commit

      The configuration is committed.

Translation
Download
Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 97287

Downloads: 276

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next