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 an Eth-Trunk to Work in Dynamic LACP Mode

Example for Configuring an Eth-Trunk to Work in Dynamic LACP Mode

Networking Requirements

In Figure 3-21, ServerA is directly connected to SwitchA through an Eth-Trunk in static LACP mode. ServerB (file server) connected to SwitchA stores ServerA's network adapter configuration. After ServerA restarts, its configuration is lost and SwitchA must obtain the configuration from ServerB. SwitchA cannot perform negotiation with ServerA because ServerA has lost its Eth-Trunk configuration. In addition, SwitchA's Eth-Trunk cannot go Up and therefore is unable to forward data.

You can configure the Eth-Trunk on SwitchA to work in dynamic LACP mode. When LACP negotiation fails, SwitchA can forward packets at Layer 2 through member interfaces. Therefore, ServerA can successfully obtain the configuration from ServerB. After ServerA obtains the configuration, an Eth-Trunk in LACP mode is established. Devices at both ends of the Eth-Trunk send LACPDUs for negotiation.

Figure 3-21 Eth-Trunk in dynamic LACP mode

Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure the Eth-Trunk on SwitchA to work in dynamic LACP mode, and add Ethernet physical interfaces to the Eth-Trunk to implement link aggregation.

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

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

Procedure

  1. Configure the Eth-Trunk on SwitchA to work in dynamic LACP mode and add Ethernet physical interfaces to the Eth-Trunk.

    <HUAWEI> system-view
    [~HUAWEI] sysname SwitchA
    [*HUAWEI] commit
    [~SwitchA] interface eth-trunk 1
    [*SwitchA-Eth-Trunk1] mode lacp-dynamic
    [*SwitchA-Eth-Trunk1] quit
    [*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
    

  2. 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] quit
    [*SwitchA] commit

  3. Set LACP interface priorities 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
    

  4. Verify the configuration.

    # Run the display eth-trunk command on SwitchA to check Eth-Trunk information. The command output shows Eth-Trunk information, such as Eth-Trunk ID (1) and working mode (dynamic LACP mode). 10GE1/0/1, 10GE1/0/2, and 10GE1/0/3 are in Indep state.

    [~SwitchA] display eth-trunk 1
    Eth-Trunk1's state information is:                                                                                                  
    Local:                                                                                                                              
    LAG ID: 1                       Working Mode: Dynamic                                                                               
    Preempt Delay: Disabled         Hash Arithmetic: profile default                                                                    
    System Priority: 32768          System ID: 0025-9e95-7c11                                                                           
    Least Active-linknumber: 1      Max Active-linknumber: 2                                                                            
    Operating Status: up          Number Of Up Ports In Trunk: 0                                                                      
    Timeout Period: Slow
    --------------------------------------------------------------------------------                                                    
    ActorPortName          Status   PortType PortPri PortNo PortKey PortState Weight                                                    
    10GE1/0/1              Indep    10GE     100     0      321     10100010  1                                                         
    10GE1/0/2              Indep    10GE     100     1      321     10100010  1                                                         
    10GE1/0/3              Indep    10GE     32768   2      321     10100010  1                                                         
                                                                                                                                        
    Partner:                                                                                                                            
    --------------------------------------------------------------------------------                                                    
    ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState                                                    
    10GE1/0/1              0        0000-0000-0000  0       0      0       10100011                                                     
    10GE1/0/2              0        0000-0000-0000  0       0      0       10100011                                                     
    10GE1/0/3              0        0000-0000-0000  0       0      0       10100011

    # After SwitchA receives LACPDUs from ServerA and link aggregation negotiation between SwitchA and ServerA succeeds, run the display eth-trunk command on SwitchA to check Eth-Trunk information. The command output shows Eth-Trunk information, such as Eth-Trunk ID (1) and working mode (dynamic LACP mode). 10GE1/0/1 and 10GE1/0/2 are active interfaces and in Selected state, and 10GE1/0/3 is in Unselect state.

    [~SwitchA] display eth-trunk 1
    Eth-Trunk1's state information is:                                                                                                  
    Local:                                                                                                                              
    LAG ID: 1                       Working Mode: Dynamic                                                                               
    Preempt Delay: Disabled:        Hash Arithmetic: profile default                                                                    
    System Priority: 32768          System ID: 0025-9e95-7c11                                                                           
    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     0      321     10111100  1                                                         
    10GE1/0/2              Selected 10GE     100     1      321     10111100  1                                                         
    10GE1/0/3              Unselect 10GE     32768   2      321     10100000  1                                                         
                                                                                                                                        
    Partner:                                                                                                                            
    --------------------------------------------------------------------------------                                                    
    ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState                                                    
    10GE1/0/1              32768    0025-9e95-7c31  32768   0      321     10111100                                                     
    10GE1/0/2              32768    0025-9e95-7c31  32768   1      321     10111100                                                     
    10GE1/0/3              32768    0025-9e95-7c31  32768   2      321     10100000

Configuration Files

Configuration file of SwitchA

#
sysname SwitchA
#
interface Eth-Trunk1
 mode lacp-dynamic
 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
Translation
Download
Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 127951

Downloads: 296

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