- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- HPE Aruba Networking & ProVision-based
- >
- LLDP Rest API not returning all data
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2021 08:27 AM
11-01-2021 08:27 AM
LLDP Rest API not returning all data
WB.16.10.0017, HP J9729A 2920-48G-POE+ Switch but also observed on other mothels and firmware.
When I run a "show lldp info remote-device 36-37" on the cli I get output from 2 devices (more lldp devices exist on the switch but left out for the example):
switch# show lldp info remote-device 36-37
LLDP Remote Device Information Detail
Local Port : 36
ChassisType : network-address
ChassisId : 192.168.120.168
PortType : mac-address
PortId : 9c 75 14 05 43 f0
SysName : Ringslink
System Descr : Ringslink
PortDescr : LAN PORT
Pvid :
System Capabilities Supported : bridge, router, telephone
System Capabilities Enabled : bridge, router, telephone
Remote Management Address
MED Information Detail
EndpointClass :Class3
Media Policy Vlan id :120
Media Policy Priority :5
Media Policy Dscp :46
Media Policy Tagged :True
Poe Device Type :PD
Power Requested :13.0 W
Power Source :From PSE
Power Priority :High
------------------------------------------------------------------------------
Local Port : 37
ChassisType : network-address
ChassisId : 192.168.120.156
PortType : mac-address
PortId : 9c 75 14 05 20 f2
SysName : Ringslink
System Descr : Ringslink
PortDescr : LAN PORT
Pvid :
System Capabilities Supported : bridge, router, telephone
System Capabilities Enabled : bridge, router, telephone
Remote Management Address
MED Information Detail
EndpointClass :Class3
Media Policy Vlan id :120
Media Policy Priority :5
Media Policy Dscp :46
Media Policy Tagged :True
Poe Device Type :PD
Power Requested :13.0 W
Power Source :From PSE
Power Priority :High
However when I request the REST output from https://switch/rest/v7/lldp/remote-device I only get the output from port 36:
$response = Invoke-RestMethod "https://switch/rest/v7/lldp/remote-device" -Method "GET" -Headers $headers
Foreach ($lldp_remote_device_element in $response.lldp_remote_device_element) {
$lldp_remote_device_element
}
uri : /lldp/remote-device/36
local_port : 36
chassis_type : RCT_NETWORK_ADDRESS
chassis_id : 192.168.120.168
port_type : LPT_MAC_ADDRESS
port_id : 9c 75 14 05 43 f0
port_description : LAN PORT
system_name : Ringslink
system_description : Ringslink
pvid :
capabilities_supported : @{repeater=False; bridge=True; wlan_access_point=False; router=True; telephone=True; cable_
device=False; station_only=False}
capabilities_enabled : @{repeater=False; bridge=True; wlan_access_point=False; router=True; telephone=True; cable_
device=False; station_only=False}
remote_management_address : {}
poe_plus_info : @{requested_power_in_watts=0.0; actual_power_in_watts=0.0}
I do not understand why port 37 is left out of the output. I fact, we have about 130 devices like port 36 but this is the only one that shows up in de REST output of all switches?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2021 12:48 PM
11-02-2021 12:48 PM
Re: LLDP Rest API not returning all data
Other devices which have no issues are on same software version?
Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2021 11:50 PM
11-02-2021 11:50 PM
Re: LLDP Rest API not returning all data
Hi!
Below the combinations of switches and firmwares we have at the moment. Non of those function correct:
Aruba JL255A 2930F-24G-PoE+-4SFP+ Switch
Software revision WC.16.10.0015
Aruba JL258A 2930F-8G-PoE+-2SFP+ Switch
Software revision WC.16.10.0015
HP J9729A 2920-48G-POE+ Switch
Software revision WB.16.10.0017
HP J9729A 2920-48G-POE+ Switch
Software revision WB.16.10.0015
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2021 11:03 AM - edited 11-05-2021 12:21 PM
11-05-2021 11:03 AM - edited 11-05-2021 12:21 PM
Re: LLDP Rest API not returning all data
Apologies for delayed response. This issue needs lab intervention, can you log a case with HPE Support by using the below link:
https://support.hpe.com/hpesc/public/home/
Thanks!
