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

S2700, S3700, S5700, S6700, S7700, and S9700 Series Switches Interoperation and Replacement Guide

This document provides typical configuration examples for interoperation between Huawei switches and mainstream IP phones, firewalls, routers, Microsoft NLB servers, multi-NIC servers, Cisco switches, and SolarWinds.
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).
Interoperation and Replacement Solution 2: Link Aggregation in LACP Mode

Interoperation and Replacement Solution 2: Link Aggregation in LACP Mode

Overview

A Huawei S series switch and a Cisco switch are configured with link aggregation in LACP mode for interworking.

Configuration Notes

This example applies to Huawei switches of all versions.

Networking Requirements

In Figure 5-28, SwitchA (Cisco switch) and SwitchB (Huawei S series switch) are configured with the LAG in LACP mode to improve bandwidth and reliability between them. The LAG is composed of three links, two of which are active links and load balance data. The third link is a backup link. When an active link fails, the backup link replaces the faulty link to ensure the reliability of data transmission. SwitchB is the Actor.

Figure 5-28  Networking of interworking and replacement using link aggregation in LACP mode

Configuration Roadmap

  • The configuration roadmap for link aggregation in LACP mode on Cisco switches is as follows:

    1. Create a port channel and add member interfaces, and configure a link aggregation mode.

    2. Configure a load balancing mode.

  • The configuration roadmap for link aggregation in LACP mode on Huawei switches is as follows:

    1. Create an Eth-Trunk and add member interfaces, and configure the Eth-Trunk to work in LACP mode.

    2. Configure a load balancing mode.

    3. Set the LACP system priority to determine the Actor. Set the upper threshold for the number of active interfaces based on interfaces of the Actor to improve network reliability with bandwidth guarantee.

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

Procedure

  1. Configure link aggregation in LACP mode on the Cisco switch.

    # Create a port channel and add member interfaces, and configure a link aggregation mode on SwitchA.

    Switch# configure terminal
    Switch(config)# hostname SwitchA
    SwitchA(config)# interface range GigabitEthernet 0/1 -3
    SwitchA(config-if-range)# channel-group 2 mode passive
    SwitchA(config-if-range)# end
    

    # Configure a load balancing mode of the port channel.

    SwitchA# configure terminal
    SwitchA(config)# port-channel load-balance src-dst-mac
    SwitchA(config)# end

  2. Configure link aggregation in LACP mode on the Huawei S series switch.

    # Create an Eth-Trunk on the Huawei S series switch, configure the Eth-Trunk to work in LACP mode, and add member interfaces to the Eth-Trunk.

    <HUAWEI> system-view
    [HUAWEI] sysname SwitchB
    [SwitchB] interface eth-trunk 1
    [SwitchB-Eth-Trunk1] mode lacp
    [SwitchB-Eth-Trunk1] trunkport gigabitethernet 0/0/1 to 0/0/3
    

    # Configure a load balancing mode on Eth-Trunk 1 of the Huawei S series switch.

    [SwitchB-Eth-Trunk1] load-balance src-dst-mac
    [SwitchB-Eth-Trunk1] quit
    

    # Set the system priority of Huawei S series switch to 100 so that it can become the LACP Actor. (The LACP system priority of the Cisco switch uses the default value 32768, so the Huawei S series switch with LACP system priority 100 becomes the Actor.) Then set the upper threshold for the number of active interfaces.

    [SwitchB] lacp priority 100
    [SwitchB] interface eth-trunk 1
    [SwitchB-Eth-Trunk1] max active-linknumber 2
    [SwitchB-Eth-Trunk1] quit

    # Set the interface priority to determine active links.

    [SwitchB] interface gigabitethernet 0/0/1
    [SwitchB-GigabitEthernet0/0/1] lacp priority 100
    [SwitchB-GigabitEthernet0/0/1] quit
    [SwitchB] interface gigabitethernet 0/0/2
    [SwitchB-GigabitEthernet0/0/2] lacp priority 100
    [SwitchB-GigabitEthernet0/0/2] quit
    

  3. Verify the configuration.

    • Run the display eth-trunk [ trunk-id [ interface interface-type interface-number | verbose ] ] command to check the link aggregation configuration on the Huawei S series switch.

    • Run the show interfaces interface-type interface-number etherchannel command to check link aggregation parameters and status information of corresponding interfaces on the Cisco switch.

    • Run the show etherchannel load-balance command to check the load balancing mode of link aggregation on the Cisco switch.

Translation
Download
Updated: 2019-05-15

Document ID: EDOC1000114005

Views: 177247

Downloads: 8152

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