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 Link Aggregation in LACP Mode

Example for Configuring Link Aggregation in LACP Mode

Networking Requirements

To improve bandwidth and connection reliability, configure a link aggregation group (LAG) on two directly connected Switches, as shown in Figure 3-20. The requirements are as follows:

  • Two active links implement load balancing.

  • One link functions as the backup link. When a fault occurs on an active link, the backup link replaces the faulty link to maintain reliable data transmission.

Figure 3-20 Link aggregation in LACP mode

Configuration Roadmap

The configuration roadmap is as follows:

  1. Create an Eth-Trunk and configure the Eth-Trunk to work in LACP mode to implement link aggregation.

  2. Add member interfaces to the Eth-Trunk.

  3. Set the LACP system priority and determine the Actor so that the Partner selects active interfaces based on the Actor interface priority.

  4. Set the upper threshold for the number of active interfaces to improve reliability.

  5. Set LACP interface priorities and determine active interfaces so that interfaces with higher priorities are selected as active interfaces.

Procedure

  1. Create Eth-Trunk 1 on SwitchA and configure Eth-Trunk 1 to work in LACP mode. The configuration of SwitchB is similar to the configuration of SwitchA, and is not mentioned here.

    <HUAWEI> system-view
    [~HUAWEI] sysname SwitchA
    [*HUAWEI] commit
    [~SwitchA] interface eth-trunk 1
    [*SwitchA-Eth-Trunk1] mode lacp-static
    [*SwitchA-Eth-Trunk1] commit
    [~SwitchA-Eth-Trunk1] quit

  2. Add member interfaces to Eth-Trunk 1 on SwitchA. The configuration of SwitchB is similar to the configuration of SwitchA, and is not mentioned here.

    [~SwitchA] interface 10ge 1/0/1
    [~SwitchA-10GE1/0/1] eth-trunk 1
    [*SwitchA-10GE1/0/1] quit
    [*SwitchA] interface 10ge 1/0/2
    [*SwitchA-10GE1/0/2] eth-trunk 1
    [*SwitchA-10GE1/0/2] quit
    [*SwitchA] interface 10ge 1/0/3
    [*SwitchA-10GE1/0/3] eth-trunk 1
    [*SwitchA-10GE1/0/3] quit
    [*SwitchA] commit
    

  3. Set the system priority on SwitchA to 100 so that SwitchA becomes the Actor.

    [~SwitchA] lacp priority 100
    [*SwitchA] commit
    

  4. On SwitchA, set the upper threshold for the number of active interfaces to 2.

    [~SwitchA] interface eth-trunk 1
    [~SwitchA-Eth-Trunk1] lacp max active-linknumber 2
    [*SwitchA-Eth-Trunk1] commit
    [~SwitchA-Eth-Trunk1] quit

  5. Set the LACP interface priority and determine active links on SwitchA.

    [~SwitchA] interface 10ge 1/0/1
    [~SwitchA-10GE1/0/1] lacp priority 100
    [*SwitchA-10GE1/0/1] quit
    [*SwitchA] interface 10ge 1/0/2
    [*SwitchA-10GE1/0/2] lacp priority 100
    [*SwitchA-10GE1/0/2] quit
    [*SwitchA] commit
    

  6. Verify the configuration.

    # Check information about the Eth-Trunk of the Switches and check whether negotiation is successful on the link.

    [~SwitchA] 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: 0025-9e95-7c31
    Least Active-linknumber: 1      Max Active-linknumber: 2
    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     100     1      20289   10111100  1
    10GE1/0/2              Selected 10GE     100     2      20289   10111100  1
    10GE1/0/3              Unselect 10GE     32768   3      20289   10100000  1
    
    Partner:
    --------------------------------------------------------------------------------
    ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState
    10GE1/0/1              32768    0025-9e95-7c11  32768   4      20289   10111100
    10GE1/0/2              32768    0025-9e95-7c11  32768   5      20289   10111100
    10GE1/0/3              32768    0025-9e95-7c11  32768   6      20289   10100000
    [~SwitchB] 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: 32768          System ID: 0025-9e95-7c11
    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   4      20289   10111100  1
    10GE1/0/2              Selected 10GE     32768   5      20289   10111100  1
    10GE1/0/3              Unselect 10GE     32768   6      20289   10100000  1
    
    Partner:
    --------------------------------------------------------------------------------
    ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState
    10GE1/0/1              100      0025-9e95-7c31  100     1      20289   10111100
    10GE1/0/2              100      0025-9e95-7c31  100     2      20289   10111100
    10GE1/0/3              100      0025-9e95-7c31  32768   3      20289   10100000

    The preceding information shows that the LACP system priority of SwitchA is 100, which is higher than the LACP system priority of SwitchB. Member interfaces 10GE1/0/1 and 10GE1/0/2 become the active interfaces and are in Selected state. Interface 10GE1/0/3 is in Unselect state. Two links are active and work in load balancing mode, and one link is the backup link.

Configuration Files

  • Configuration file of SwitchA

    #
    sysname SwitchA
    #
    lacp priority 100
    #
    interface Eth-Trunk1
     mode lacp-static
     lacp max active-linknumber 2
    #
    interface 10GE1/0/1
     eth-trunk 1
     lacp priority 100
    #
    interface 10GE1/0/2
     eth-trunk 1
     lacp priority 100
    #
    interface 10GE1/0/3
     eth-trunk 1
    #
    return
  • Configuration file of SwitchB

    #
    sysname SwitchB
    #
    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
    #
    return
Translation
Download
Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 79621

Downloads: 274

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