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).
Configuring an M-LAG Member Interface

Configuring an M-LAG Member Interface

Prerequisites

The links between a user-side device and two devices configured with M-LAG have been configured as aggregated links. To improve reliability and prevent incorrect configurations or loops during M-LAG configuration, you are advised to configure link aggregation in LACP mode.

Procedure

  • When the Eth-Trunk works in manual load balancing mode, perform the following operations.
    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 trunkport interface-type { interface-number1 [ to interface-number2 ] } &<1-n>

      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.

      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.

    4. Run dfs-group dfs-group-id m-lag m-lag-id

      The Eth-Trunk is bound to a DFS group, that is, the Eth-Trunk is configured as an M-LAG member interface.

      NOTE:

      The two devices configured with M-LAG must use the same M-LAG ID.

    5. (Optional) Run: stp binding process process-id

      The port is added to the specified MSTP process.

      After STP multi-process is enabled, some M-LAG member interfaces on M-LAG devices can be managed in each process. Devices perform STP calculation based on processes, and the interfaces that are not in processes do not participate in STP calculation of processes. The M-LAG member port is added to the specified MSTP process.

      • When M-LAG member interfaces in different processes belong to the same BD and the peer-link interface is faulty, loops may occur. To address this issue, assign M-LAG member interfaces in different processes to different BDs.
      • Run the command shutdown to disable an interface and services are not configured before the process of M-LAG member interfaces switching. Run the command undo shutdown to enable an interface and services are configured after the process of M-LAG member interfaces switching.

    6. Run commit

      The configuration is committed.

  • (Recommended) When the Eth-Trunk works in LACP mode, perform the following operations.
    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 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.

    4. Run mode { lacp-static | lacp-dynamic }

      The Eth-Trunk is configured to work in LACP mode.

    5. Run dfs-group dfs-group-id m-lag m-lag-id

      The Eth-Trunk is bound to a DFS group, that is, the Eth-Trunk is configured as an M-LAG member interface.

      NOTE:

      The two devices configured with M-LAG must use the same M-LAG ID.

    6. (Optional) Run: stp binding process process-id

      The port is added to the specified MSTP process.

      After STP multi-process is enabled, some M-LAG member interfaces on M-LAG devices can be managed in each process. Devices perform STP calculation based on processes, and the interfaces that are not in processes do not participate in STP calculation of processes. The M-LAG member port is added to the specified MSTP process.

      • When M-LAG member interfaces in different processes belong to the same BD and the peer-link interface is faulty, loops may occur. To address this issue, assign M-LAG member interfaces in different processes to different BDs.
      • Run the command shutdown to disable an interface and services are not configured before the process of M-LAG member interfaces switching. Run the command undo shutdown to enable an interface and services are configured after the process of M-LAG member interfaces switching.

    7. (Optional) Set the LACP M-LAG system priority and ID.

      • Run the quit command to exit from the Eth-Trunk interface view.
      • Run the lacp m-lag priority priority command to set the LACP M-LAG system priority.

        The default LACP M-LAG system priority is 32768.
        • The LACP M-LAG system priority is valid for the M-LAG composed of an Eth-Trunk in LACP mode, whereas the LACP system priority configured by the lacp priority command is valid for an Eth-Trunk in LACP mode.
        • Eth-Trunks on both devices configured with M-LAG must use the same LACP M-LAG system priority.
      • Run the lacp m-lag system-id mac-address command to set the LACP M-LAG system ID.

        By default, the LACP M-LAG system ID in the system view is the MAC address of the Ethernet interface on the MPU.
        • The LACP M-LAG system ID is valid for the M-LAG composed of an Eth-Trunk in LACP mode.
        • Eth-Trunks on both devices configured with M-LAG must use the same LACP M-LAG system ID.
        • You are advised to use the smaller MAC address on the M-LAG master or slave device as the LACP M-LAG system ID.

    8. Run commit

      The configuration is committed.

Translation
Download
Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 127254

Downloads: 296

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