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


To have a better experience, please upgrade your IE browser.


Enable CDP on Huawei Switch

Publication Date:  2019-07-12 Views:  21496 Downloads:  24

Issue Description

As default discovery protocol on C switches is CDP, when replace C switch with Huawei switch that will connected with C devices (Ex. IP telephones), CDP protocol will not working as the default discovery protocol on Huawei Switches is LLDP protocol (Standard protocol)

Problem: Huawei switchs is not compatible with CDP protocol
Product Name: S5700
Software version: V200R005


To enable CDP protocol with Huawei switches we need to perform this configuration on Huawei switch:

[Huawei] lldp enable   //to enable lldp on the switch with all interfaces
[Huawei] interface gigaethernet 0/0/1   //Enter the interface that you want to make it compatible with CDP protocol
[HUAWEI-GigabitEthernet0/0/1] lldp compliance cdp receive  //This command will allow the information to exchange between LLDP and CDP

After performing this configuration all CDP commands (EX. display cdp neighbor) can work on Huawei switches, also this can be performed on all interfaces of the switch