cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1916
Views
0
Helpful
1
Replies

Identify if LLDP is enabled, using SNMP

Hi,

Im looking for a way to identify if a device is LLDP enabled, using SNMP. There's 2 scenarios in my case. 

 

1. LLDP is enabled, but no neighbors are available(for some reasons)

#show lldp neighbors
Capability codes:
(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other

Device ID Local Intf Hold-time Capability Port ID

Total entries displayed: 0

 

2. LLDP is not enabled.

 

In both the cases, when issued a SNMP request for the LLDP Neighbor OID, im getting "No such Instance" response. 

iso.0.8802.1.1.2.1.4.1.1.7 = No Such Instance currently exists at this OID

 

Please let me know if i can differentiate the two scenarios. Or, if there's an OID which can tell if LLDP is enabled in a device or not. Because, if the device is not LLDP enabled, i have to make the necessary configuration changes and if the device is enabled with LLDP, i can just ignore.

 

The devices include wide range of models and thousands of them. Is there a way to identify if LLDP is enabled by any possible means. Please do let me know.

 

Thanks.

 

1 Reply 1

For situation like that, you should look at:

https://cfnng.cisco.com/mibs lldp.JPG

 

If you can´t find there, then doesn´t exist. But LLDP MIB does exist.