Cisco and Huawei switches LACP configuration instances

Source: Internet
Author: User

Cisco: 3560 GB
Huawei: S5300

Cisco G0/25 --- Huawei g/0/1
Cisco g/27 --- Huawei g/0/2

There are two modes for configuring link aggregation for Huawei switches: manual and lacp-static. If no configuration is made, the default switch is manual. Therefore, you must manually change the mode to lacp-static, this is important; otherwise, LACP cannot be successfully negotiated with the Cisco switch.

Huawei Switches
# Interface Eth-Trunk1
Port link-type trunk
Port trunk allow-pass vlan 2 to 4094
Mode lacp-static // modify the link aggregation mode
Max active-linknumber 2 // set the maximum number of active links to 2
Bpdu enable // enable BPDU

# Lacp priority 100

# Interface GigabitEthernet0/0/1
Eth-trunk 1
Undo ntdp enable
Undo ndp enable
Before configuring a port, you must clear all the original port configurations and undo them. Otherwise, the eth-trunk command cannot be applied. If the trunk port has been configured on the port, you can use the undo port link-type to clear the trunk status)

# Interface GigabitEthernet0/0/2
Eth-trunk 1
Undo ntdp enable
Undo ndp enable

Cisco switches
Interface port-channel1
Switchport trunk encapsulation dot1q
Switchport mode trunk

Interface g0/25
Switchport trunk encapsulation dot1q
Switchport mode trunk
Channel-group 1 mode active

Interface g0/27
Switchport trunk encapsulation dot1q
Switchport mode trunk
Channel-group 1 mode active

This article is from the "I am still alive" blog. For more information, contact the author!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.