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

Typical Configuration Examples

CloudEngine 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

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).
LACP Link Aggregation Interworking or Replacement Guidance

LACP Link Aggregation Interworking or Replacement Guidance

Introduction to LACP Link Aggregation

The link aggregation modes and configurations of devices from different vendors are different. How is link aggregation implemented between devices from different vendors?

The Link Aggregation Control Protocol (LACP) is a public protocol and LACP Data Units (LACPDUs) are the same, so Huawei devices can interwork with or replace third-party devices that support LACP. The following describes interworking of LACP link aggregation between Huawei device and Cisco, H3C, and Juniper devices, as described in Table 4-1.

Table 4-1 Interworking of LACP link aggregation

Vendor

LACP Link Aggregation Mode and Command

Huawei

Static LACP mode

mode lacp-static

Cisco

Static LACP mode

channel-group number mode active

channel-group number mode passive

H3C

Dynamic LACP mode

link-aggregation mode dynamic

Juniper

LACP mode

[edit interfaces interface-name aggregated-ether-options]
lacp {
  active;
}
[edit interfaces interface-name aggregated-ether-options]
lacp {
  passive;
}

Typical Networking

Before connecting or replacing the devices, ensure that the link aggregation modes at both ends are the same and the numbers of physical member interfaces at both ends are the same. The following provides examples for using the Huawei device in LACP mode to interwork with or replace devices from Cisco, H3C, or Juniper.

Note: The following interface names are just used as examples and may be different from actual interface names on devices.

Case 1: A Huawei device interworks with or replace a Cisco device

  1. Networking
    Figure 4-1 A Huawei device interworks with or replace a Cisco device
  2. Procedure
    1. Create a link aggregation group (LAG), configure an LACP mode, and add interfaces to an Eth-Trunk.

      # Configure the Huawei device.

      <HUAWEI> system-view
      [~HUAWEI] interface eth-trunk 1
      [*HUAWEI-Eth-Trunk1] mode lacp-static
      [*HUAWEI-Eth-Trunk1] trunkport 10ge 1/0/1 to 1/0/3
      [*HUAWEI-Eth-Trunk1] commit
      [~HUAWEI-Eth-Trunk1] quit

      # Configure the Cisco device.

      CISCO#configure terminal
      CISCO(config)#interface port-channel 1
      CISCO(config-if)#exit
      CISCO(config)#interface range gigabitEthernet 0/1, gigabitEthernet 0/2, gigabitEthernet 0/3
      CISCO(config-if-range)#channel-protocol lacp
      CISCO(config-if-range)#channel-group 1 mode active
      CISCO(config-if-range)#exit
      CISCO(config)#exit
    2. Check the configuration.

      # Check the configuration of the Huawei device.

      [~HUAWEI] 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-7c31                                                                           
      Least Active-linknumber: 1      Max Active-linknumber: 32                                                                            
      Operating Status: up            Number Of Up Ports In Trunk: 3
      Timeout Period: Slow
      --------------------------------------------------------------------------------                                                    
      ActorPortName          Status   PortType PortPri PortNo PortKey PortState Weight                                                    
      10GE1/0/1              Selected 1GE      32768   1      20289   10111100  1                                                         
      10GE1/0/2              Selected 1GE      32768   2      20289   10111100  1                                                         
      10GE1/0/3              Selected 1GE      32768   3      20289   10100000  1                                                         
                                                                                                                                          
      Partner:                                                                                                                            
      --------------------------------------------------------------------------------                                                    
      ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState                                                    
      10GE1/0/1              32768    0025-9e95-7c11  32768   0      20289   10111100                                                     
      10GE1/0/2              32768    0025-9e95-7c11  32768   0      20289   10111100                                                     
      10GE1/0/3              32768    0025-9e95-7c11  32768   0      20289   10100000

      # Check the configuration of the Cisco device.

      CISCO#show etherchannel 1 port-channel
                      Port-channels in the group: 
                      ---------------------------  
       
      Port-channel: Po1     (Primary Aggregator) 
      ------------ 
       
      Age of the Port-channel   = 0d:05h:03m:48s 
      Logical slot/port   = 2/1           Number of ports = 3 
      HotStandBy port  =null 
      Port state          = Port-channel Ag-Inuse 
      Protocol            =   LACP 
      Port security       = Disabled 
       
      Ports in the Port-channel: 
       
      Index    Load    Port    EC state      No of bits 
      ------+-------------+-----------+----------------------------------------------- 
         0     00      Gi0/1   Active            0 
         0     00      Gi0/2   Active            0 
         0     00      Gi0/3   Active            0 
       
      Time since last port bundled:     0d:00h:44m:09s      Gi0/3
      Time since last port Un-bundled:  0d:00h:44m:13s      Gi0/3
  3. Configuration file summary
    • Cisco device: The configuration file is not provided here.
    • Huawei device:
      #
      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

Case 2: A Huawei device interworks with or replace an H3C device

  1. Networking
    Figure 4-2 A Huawei device interworks with or replace an H3C device
  2. Procedure
    1. Create an LAG, configure an LACP mode, and add interfaces to an Eth-Trunk.

      # Configure Huawei device.

      <HUAWEI> system-view
      [~HUAWEI] interface eth-trunk 1
      [*HUAWEI-Eth-Trunk1] mode lacp-static
      [*HUAWEI-Eth-Trunk1] trunkport 10ge 1/0/1 to 1/0/3
      [*HUAWEI-Eth-Trunk1] commit
      [~HUAWEI-Eth-Trunk1] quit

      # Configure the H3C device.

      <H3C> system-view
      [H3C] interface bridge-aggregation 1
      [H3C-Bridge-Aggregation1] link-aggregation mode dynamic
      [H3C-Bridge-Aggregation1] quit
      [H3C] interface GigabitEthernet 1/0/1
      [H3C-GigabitEthernet1/0/1] port link-aggregation group 1
      [H3C-GigabitEthernet1/0/1] quit
      [H3C] interface GigabitEthernet 1/0/2
      [H3C-GigabitEthernet1/0/2] port link-aggregation group 1
      [H3C-GigabitEthernet1/0/2] quit
      [H3C] interface GigabitEthernet 1/0/3
      [H3C-GigabitEthernet1/0/3] port link-aggregation group 1
      [H3C-GigabitEthernet1/0/3] quit
    2. Check the configuration.

      # Check the configuration of the Huawei device.

      [~HUAWEI] 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-7c31                                                                           
      Least Active-linknumber: 1      Max Active-linknumber: 32                                                                            
      Operating Status: up            Number Of Up Ports In Trunk: 3
      Timeout Period: Slow
      --------------------------------------------------------------------------------                                                    
      ActorPortName          Status   PortType PortPri PortNo PortKey PortState Weight                                                    
      10GE1/0/1              Selected 1GE      32768   1      20289   10111100  1                                                         
      10GE1/0/2              Selected 1GE      32768   2      20289   10111100  1                                                         
      10GE1/0/3              Selected 1GE      32768   3      20289   10100000  1                                                         
                                                                                                                                          
      Partner:                                                                                                                            
      --------------------------------------------------------------------------------                                                    
      ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState                                                    
      10GE1/0/1              32768    000f-e267-6c6a  32768   1      20289   10111100                                                     
      10GE1/0/2              32768    000f-e267-6c6a  32768   2      20289   10111100                                                     
      10GE1/0/3              32768    000f-e267-6c6a  32768   3      20289   10100000

      # Check the configuration of the H3C device.

      [H3C] display link-aggregation verbose bridge-aggregation 1
      Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
      Port Status: S -- Selected, U -- Unselected, I -- Individual
      Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
             D -- Synchronization, E -- Collecting, F -- Distributing,
             G -- Defaulted, H -- Expired
      Aggregate Interface: Bridge-Aggregation1
      Aggregation Mode: Dynamic
      Loadsharing Type: Shar
      System ID: 0x8000, 000f-e267-6c6a
      Local:
        Port              Status  Priority  Oper-Key  Flag
      --------------------------------------------------------------------------------
        GE1/0/1           S       32768     2         {ACDEF}
        GE1/0/2           S       32768     2         {ACDEF}
        GE1/0/3           S       32768     2         {ACDEF}
      Remote:
        Actor             Partner Priority  Oper-Key  SystemID               Flag
      --------------------------------------------------------------------------------
        GE1/0/1           1       32768     2         0x8000, 0025-9e95-7c31 {ACDEF}
        GE1/0/2           2       32768     2         0x8000, 0025-9e95-7c31 {ACDEF}
        GE1/0/3           3       32768     2         0x8000, 0025-9e95-7c31 {ACDEF}
  3. Configuration file summary
    • H3C device: The configuration file is not provided here.
    • Huawei device:
      #
      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

Case 3: A Huawei device interworks with or replace a Juniper device

  1. Networking
    Figure 4-3 A Huawei device interworks with or replace a Juniper device
  2. Procedure
    1. Create an LAG, configure an LACP mode, and add interfaces to an Eth-Trunk.

      # Configure the Huawei device.

      <HUAWEI> system-view
      [~HUAWEI] interface eth-trunk 1
      [*HUAWEI-Eth-Trunk1] mode lacp-static
      [*HUAWEI-Eth-Trunk1] trunkport 10ge 1/0/1 to 1/0/3
      [*HUAWEI-Eth-Trunk1] commit
      [~HUAWEI-Eth-Trunk1] quit

      # Configure the Juniper device.

      [edit interfaces]
      ge--1/0/1 {
        ether-options {
          802.3ad ae0;
        }
      }
      ge--1/0/2 {
        ether-options {
          802.3ad ae0;
        }
      }
      ge--1/0/3 {
        ether-options {
          802.3ad ae0;
        }
      }
      ae0 {
        aggregated-ether-options {
          lacp {
            active;
          }
        }
      }
    2. Check the configuration.

      # Check the configuration of the Huawei device.

      [~HUAWEI] 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-7c31                                                                           
      Least Active-linknumber: 1      Max Active-linknumber: 32                                                                            
      Operating Status: up            Number Of Up Ports In Trunk: 3
      Timeout Period: Slow
      --------------------------------------------------------------------------------                                                    
      ActorPortName          Status   PortType PortPri PortNo PortKey PortState Weight                                                    
      10GE1/0/1              Selected 1GE      32768   1      20289   10111100  1                                                         
      10GE1/0/2              Selected 1GE      32768   2      20289   10111100  1                                                         
      10GE1/0/3              Selected 1GE      32768   3      20289   10100000  1                                                         
                                                                                                                                          
      Partner:                                                                                                                            
      --------------------------------------------------------------------------------                                                    
      ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState                                                    
      10GE1/0/1              32768    0025-9e95-7c11  32768   1      20289   10111100                                                     
      10GE1/0/2              32768    0025-9e95-7c11  32768   2      20289   10111100                                                     
      10GE1/0/3              32768    0025-9e95-7c11  32768   3      20289   10100000

      # Check the configuration of the Juniper device.

      <root> show interface ae0
      Physical interface: ae0, Enable, Physical link is Up
        Interface index: 129, SNMP ifIndex: 601
        Link-level type: Ethernet. MTU: 1514, Speed: 20Gbps, BPDU Error: None,
        MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled,
        Flow control: Disable, Minimum Links needed: 1, Minimum bandwidth needed: 0
        Device flags   : Present Running
        Interface flags: SNMP-Traps Internal: 0x0
        Current address: 78:fe:3d:e4:25:00, Harfware address: 78:fe:3d:e4:25:00
        Last flapped   : 2011-06-29 13:06:52 UTC (00:27:39 ago)
        Input rate     : 2032 bps (0 pps)
        Output rate    : 0 bps (0 pps)
      
        Logical interface ae0.0 (Index 67) (SNMP ifIndex 602)
          Flags: SNMP-Traps 0x0 Encapsulation: ENET2
          Statistics        Packets        pps        Bytes        bps
          Bundle:
              Input :             0          0            0          0
              Output:          2172          0       231733          0
          Protocol eth-switch
            Flags: Is-Primary
  3. Configuration file summary
    • Juniper device: The configuration file is not provided here.
    • Huawei device:
      #
      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
Download
Updated: 2019-10-14

Document ID: EDOC1000039339

Views: 150068

Downloads: 7858

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