Enable CDP on Huawei Switch

Publication Date:  2015-12-08 Views:  9430 Downloads:  0
Issue Description
As default discovery protocol on Cisco switches is CDP, when replace Cisco switch with Huawei switch that will connected with Cisco 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

Solution
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

END