What should I do if an S series switches fails to discover LLDP neighbors

20

If a Huawei S series switch (except the S1700) fails to discover LLDP neighbors, the solutions are as follows:
1. Ensure that LLDP is enabled globally on the local switch and not disabled on related interfaces.
2. Ensure that LLDP is enabled globally on the peer switch and not disabled on related interfaces.
3. Ensure that the BPDU processing function is enabled on the related interfaces on the local and peer switches, and no other policy is used to discard LLDP BPDUs.

Other related questions:
How do I view LLDP neighbors
Run the display lldp neighbor [ interface interface-type interface-number ] command to view information about neighboring devices of all interfaces or a specified interface. Run the display lldp neighbor brief command to view brief information about neighbors of the device.

How do I query LLDP neighbor information
Run the display lldp neighbor [ interface < interface-type > < interface-number > ] command to check neighbor information on the AR or interface. Run the display lldp neighbor brief command to check brief information about neighbors.

Why cannot an S series switches obtain LLDP neighbor information through SNMP
On a Huawei S series switch (except the S1700), the LLDP module has two MIB files, that is, HUAWEI-LLDP-MIB.mib and LLDP-MIB.mib. In the default configuration of the switch, SNMP is only applicable to the objects in the internet tree. The objects such as neighbor information in LLDP-MIB.mib are not in the internet tree. Therefore, the SNMP MIB view needs to be set to ISO. Then, all the objects in the ISO view can be accessed through SNMP. To obtain LLDP neighbor information through SNMP, run the following commands on the switch: [HUAWEI]snmp-agent community read huawei123 mib-view iso-view [HUAWEI]snmp-agent community write huawei123 mib-view iso-view [HUAWEI]snmp-agent sys-info version all [HUAWEI]snmp-agent mib-view included iso-view iso

Why do operations on the lldpNotificationInterval fail after LLDP is enabled globally on an S series switches
For Huawei S series switches (except the S1700), the lldpNotificationInterval object is in LLDP-MIB.mib. The root object of LLDP-MIB.mib is iso(1).std(0).iso8802(8802).ieee802dot1(1).ieee802dot1mibs(1).lldpMIB(2). The default MIB views operable to the NMS have an OID prefix 1.3.6.1. The lldpNotificationInterval object is not in any operable MIB view, so the operations performed on the lldpNotificationInterval object on the NMS do not take effect. To make operations on the lldpNotificationInterval object performed on the NMS take effect, perform the following configuration on the managed device: [HUAWEI] snmp-agent mib-view included test iso [HUAWEI] snmp-agent community read huawei123 mib-view test [HUAWEI] snmp-agent community write huawei123 mib-view test [HUAWEI]snmp-agent sys-info version all The community name (huawei123) and MIB view name (test) in the preceding commands are used as an example. You can change them as required.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top