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).
Example for Configuring Inter-device Link Aggregation in LACP Mode (Standalone Device)

Example for Configuring Inter-device Link Aggregation in LACP Mode (Standalone Device)

Networking Requirements

In Figure 3-23, DeviceA is dual-homed to DeviceB and DeviceC. The Eth-Trunk in LACP mode is deployed on DeviceA, and its member interfaces are connected to 10GE1/0/1 and 10GE1/0/2 of DeviceB and DeviceC. 10GE1/0/1 and 10GE1/0/2 use the same rate and duplex mode. Traffic needs to be load balanced on the two devices.

Figure 3-23 Dual-active networking where a device is dual-homed through the Eth-Trunk in LACP mode

Configuration Roadmap

The configuration roadmap is as follows:

  1. Create Eth-Trunk 1 in static LACP mode on DeviceA, DeviceB, and DeviceC and add member interfaces to Eth-Trunk 1 to implement link aggregation.

  2. Configure the same LACP system ID on DeviceB and DeviceC.

  3. Configure the same LACP system priority on DeviceB and DeviceC.

  4. Configure number of Eth-Trunk member interfaces on DeviceC to increase by 32768 to prevent repeated numbers of Eth-Trunk member interfaces in LACP mode on DeviceB and DeviceC.

Procedure

  1. Create Eth-Trunk 1 in LACP mode on DeviceA, DeviceB, and DeviceC and add member interfaces to Eth-Trunk 1.

    <HUAWEI> system-view
    [~HUAWEI] sysname DeviceA
    [*HUAWEI] commit
    [~DeviceA] interface eth-trunk 1
    [*DeviceA-Eth-Trunk1] mode lacp-static
    [*DeviceA-Eth-Trunk1] trunkport 10ge 1/0/1 to 1/0/4
    [*DeviceA-Eth-Trunk1] commit
    [~DeviceA-Eth-Trunk1] quit
    
    <HUAWEI> system-view
    [~HUAWEI] sysname DeviceB
    [*HUAWEI] commit
    [~DeviceB] interface eth-trunk 1
    [*DeviceB-Eth-Trunk1] mode lacp-static
    [*DeviceB-Eth-Trunk1] trunkport 10ge 1/0/1 to 1/0/2
    [*DeviceB-Eth-Trunk1] commit
    
    <HUAWEI> system-view
    [~HUAWEI] sysname DeviceC
    [*HUAWEI] commit
    [~DeviceC] interface eth-trunk 1
    [*DeviceC-Eth-Trunk1] mode lacp-static
    [*DeviceC-Eth-Trunk1] trunkport 10ge 1/0/1 to 1/0/2
    [*DeviceC-Eth-Trunk1] commit
    

  2. Set the LACP system ID on DeviceB and DeviceC to 00e0-cf00-0000.

    [~DeviceB-Eth-Trunk1] lacp system-id 00e0-cf00-0000
    [*DeviceB-Eth-Trunk1] commit
    [~DeviceB-Eth-Trunk1] quit
    [~DeviceC-Eth-Trunk1] lacp system-id 00e0-cf00-0000
    [*DeviceC-Eth-Trunk1] commit
    [~DeviceC-Eth-Trunk1] quit

  3. Set the LACP system priority on DeviceB and DeviceC to 100.

    [~DeviceB] lacp priority 100
    [*DeviceB] commit
    
    [~DeviceC] lacp priority 100
    [*DeviceC] commit
    

  4. Configure numbers of Eth-Trunk member interfaces on DeviceC to increase by 32768.

    [~DeviceC] interface eth-trunk 1
    [~DeviceC-Eth-Trunk1] lacp port-id-extension enable
    [*DeviceC-Eth-Trunk1] commit

  5. Verify the configuration.

    # Check information about the Eth-Trunk of each device and check whether the negotiation is successful.

    [~DeviceA] display eth-trunk 1
    Eth-Trunk1's state information is:
    Local:
    LAG ID: 1                       Working Mode: Static
    Preempt Delay: Disabled         Hash Arithmetic: profile default
    System Priority: 100            System ID: e468-a356-0cb1
    Least Active-linknumber: 1      Max Active-linknumber: 16
    Operating Status: up            Number Of Up Ports In Trunk: 4
    Timeout Period: Slow
    --------------------------------------------------------------------------------
    ActorPortName          Status   PortType PortPri PortNo PortKey PortState Weight
    10GE1/0/1              Selected 10GE     32768   3      321     10111100  1
    10GE1/0/2              Selected 10GE     32768   1      321     10100010  1
    10GE1/0/3              Selected 10GE     32768   4      321     10111100  1
    10GE1/0/4              Selected 10GE     32768   2      321     10100010  1
    
    Partner:
    --------------------------------------------------------------------------------
    ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState
    10GE1/0/1              100      00e0-cf00-0000  32768   32769  321     10111100
    10GE1/0/2              100      00e0-cf00-0000  32768   32770  321     10111100
    10GE1/0/1              100      00e0-cf00-0000  32768   4      321     10111100
    10GE1/0/2              100      00e0-cf00-0000  32768   5      321     10111100
    [~DeviceB] display eth-trunk 1
    Eth-Trunk1's state information is:
    Local:
    LAG ID: 1                       Working Mode: Static
    Preempt Delay: Disabled         Hash Arithmetic: profile default
    System Priority: 100            System ID: 00e0-cf00-0000
    Least Active-linknumber: 1      Max Active-linknumber: 32
    Operating Status: up            Number Of Up Ports In Trunk: 2
    Timeout Period: Slow
    --------------------------------------------------------------------------------
    ActorPortName          Status   PortType PortPri PortNo PortKey PortState Weight
    10GE1/0/1              Selected 10GE     32768   4      321     10111100  1
    10GE1/0/2              Selected 10GE     32768   5      321     10111100  1
    
    Partner:
    --------------------------------------------------------------------------------
    ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState
    10GE1/0/3              100      e468-a356-0cb1  32768   4      321     10111100
    10GE1/0/4              100      e468-a356-0cb1  32768   2      321     10100010
    [~DeviceC] display eth-trunk 1
    Eth-Trunk1's state information is:
    Local:
    LAG ID: 1                       Working Mode: Static
    Preempt Delay: Disabled         Hash Arithmetic: profile default
    System Priority: 100            System ID: 00e0-cf00-0000
    Least Active-linknumber: 1      Max Active-linknumber: 16
    Operating Status: up            Number Of Up Ports In Trunk: 2
    Timeout Period: Slow
    --------------------------------------------------------------------------------
    ActorPortName          Status   PortType PortPri PortNo PortKey PortState Weight
    10GE1/0/1              Selected 10GE     32768   32769  321     10111100  1
    10GE1/0/2              Selected 10GE     32768   32770  321     10111100  1
    
    Partner:
    --------------------------------------------------------------------------------
    ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState
    10GE1/0/1              100      e468-a356-0cb1  32768   3      321     10111100
    10GE1/0/2              100      e468-a356-0cb1  32768   1      321     10100010

    The preceding information shows that the value of Operating Status on each device is up, negotiation of Eth-Trunk 1 is successful. Member interfaces on DeviceB and DeviceC are active interfaces in Selected state, member interfaces of DeviceB and DeviceC can load balance traffic. The PortNo parameter on DeviceC indicates that the numbers of Eth-Trunk member interfaces on DeviceC to increase by 32768.

Configuration Files

  • DeviceA configuration file

    #
    sysname DeviceA
    #
    interface Eth-Trunk1
     mode lacp-static
    # 
    interface 10GE1/0/1
     eth-trunk 1
    #
    interface 10GE1/0/2
     eth-trunk 1
    #
    interface 10GE1/0/3
     eth-trunk 1
    #
    interface 10GE1/0/4
     eth-trunk 1
    #
    return
  • DeviceB configuration file

    #
    sysname DeviceB
    #
    lacp priority 100
    #
    interface Eth-Trunk1
     mode lacp-static
     lacp system-id 00e0-cf00-0000
    #
    interface 10GE1/0/1
     eth-trunk 1
    #
    interface 10GE1/0/2
     eth-trunk 1
    #
    return
  • DeviceC configuration file

    #
    sysname DeviceC
    #
    lacp priority 100
    #
    interface Eth-Trunk1
     mode lacp-static
     lacp system-id 00e0-cf00-0000
     lacp port-id-extension enable
    #
    interface 10GE1/0/1
     eth-trunk 1
    #
    interface 10GE1/0/2
     eth-trunk 1
    #
    return
Translation
Download
Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 79172

Downloads: 274

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