< Home

Why the LLDP Neighbor Information Cannot Be Obtained Through SNMP or the Operations Performed on LLDP MIB Objects Do Not Take Effect?

Possible Cause Description Solution
The LLDP function is disabled on the switch. If the LLDP function is disabled on the switch, the switch cannot obtain the LLDP neighbor information, and the NMS fails to operate LLDP MIB objects. As a result, the LLDP neighbor information cannot be obtained through SNMP. Run the lldp enable command in the system view to enable LLDP globally. By default, LLDP is enabled globally and on the interface.
The LLDP-MIB objects are not in the default MIB view. The LLDP module has two MIB files, that is, HUAWEI-LLDP-MIB and LLDP-MIB. The root directory of the LLDP-MIB is iso(1).std(0).iso8802(8802).ieee802dot1(1).ieee802dot1mibs(1).lldpMIB(2). The default MIB view that can be operated by the NMS is 1.3.6.1, and all LLDP-MIB objects are not in the default MIB view, so the operations performed on LLDP-MIB objects do not take effect.
  1. Run the snmp-agent mib-view included iso-view iso command to create the MIB view iso-view that can access all MIB objects.
  2. Run the snmp-agent community { read | write } community-name mib-view iso-view command to grant the access permission on the MIB view iso-view to the NMS.
  3. Run the snmp-agent sys-info version all command to configure all SNMP versions on the switch.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >