FAQ--LACP between cisco and huawei

Publication Date:  2016-12-27 Views:  2637 Downloads:  0
Issue Description

Link aggregation is a computer networking term to describe various methods of combining (aggregating) multiple network connections in parallel to increase throughput beyond what a single connection could sustain, and to provide redundancy in case one of the links fail.

Further umbrella terms used to describe the method include port trunking,link bundling, Ethernet/network/NIC bonding, or NIC teaming. These umbrella terms not only encompass vendor-independent standards such as Link Aggregation Control Protocol (LACP) for Ethernet defined in IEEE 802.1ax or the previous IEEE 802.3ad, but also various proprietary solutions.
LACP was designed to achieve the following:

  • Automatic addition and deletion of individual links to the aggregate bundle without user intervention
  • Link monitoring to check whether both ends of the bundle are connected to the correct group


Link aggregation addresses two problems with Ethernet connections: bandwidth limitations and lack of resilience.
With regard to the first issue: bandwidth requirements do not scale linearly. Ethernet bandwidths historically have increased by an order of magnitude each generation: 10 Megabit/s, 100 Mbit/s, 1000 Mbit/s, 10,000 Mbit/s. If one started to bump into bandwidth ceilings, then the only option was to move to the next generation which could be cost prohibitive. An alternative solution, introduced by many of the network manufacturers in the early 1990s, is to combine two physical Ethernet links into one logical link via channel bonding. Most of these solutions required manual configuration and identical equipment on both sides of the aggregation.
The second problem involves the three single points of failure in a typical port-cable-port connection. In either the usual computer-to-switch or in a switch-to-switch configuration, the cable itself or either of the ports the cable is plugged into can fail. Multiple physical connections can be made, but many of the higher level protocols were not designed to failover completely seamlessly.

Solution

 How to configure them between cisco 4506 and huawei S5700 like this

  Cisco Huawei 

interface Port-channel1

 description Etherchannel to Huawei_s5700

 switchport

 switchport trunk encapsulation dot1q

 switchport trunk allowed vlan 15,25

 switchport mode trunk

interface GigabitEthernet1/48

 description Etherchannel to Huawei_s5700

 switchport

 switchport trunk allowed vlan 15,25

 switchport mode trunk

 channel-group 1 mode active

interface GigabitEthernet1/47

 description Etherchannel to Huawei_s5700

 switchport

 switchport trunk allowed vlan 15,25

 switchport mode trunk

 channel-group 1 mode active

interface Eth-Trunk1

 port link-type trunk

 port trunk allow-pass vlan 15 25

 mode lacp-static

interface GigabitEthernet1/0/47

 eth-trunk 1

 undo negotiation auto

interface GigabitEthernet1/0/48

 eth-trunk 1

 undo negotiation auto








     

 Cisco4506#sh int port-channel 1

      Port-channel1 is up, line protocol is up (connected)

        Hardware is EtherChannel, address is 8843.7a1c.55ab (bia 8843.7a1c.55ab)

        Description: Etherchannel to Huawei_s5700

        MTU 1500 bytes, BW 2000000 Kbit, DLY 10 usec,

           reliability 255/255, txload 1/255, rxload 1/255

        Encapsulation ARPA, loopback not set

        Keepalive set (10 sec)

        Full-duplex, 1000Mb/s

        input flow-control is off, output flow-control is on

        Members in this channel: Gi1/47 Gi1/48
 
[Quidway]display interface eth-trunk 1

 Eth-Trunk1 current state : UP

 Description:HUAWEI, Quidway Series, Eth-Trunk1 Interface

 Switch Port,PVID :    1,Hash arithmetic : According to SIP-XOR-DIP,The Maximum Frame Length is 9216

      Internet protocol processing : disabled

 IP Sending Frames’ Format is PKTFMT_ETHNT_2, Hardware address is 781d-bad1-212a

——————————————————————————-

PortName                Status              Weight

——————————————————————————-

      GigabitEthernet1/0/47    UP                  1

      GigabitEthernet1/0/48    UP                  1

——————————————————————————-

The Number of Ports in Trunk : 2

      The Number of UP Ports in Trunk : 2

END