Page MenuHomeVyOS Platform

show lldp neighbors detail (detail not available) even when configured and running
Open, LowPublicBUG

Description

The issue:

vyos@test:~$ show lldp
Possible completions:
  neighbors             Show LLDP neighbors
vyos@test:~$ show lldp neighbors
Possible completions:
  <Enter>               Execute the current command
  interface             Show LLDP for specified interface
vyos@test:~$ show lldp neighbors detail
  Invalid command: show lldp neighbors [detail]
vyos@test:~$ ps -ef | grep lldp
_lldpd     13828       1  0 10:02 ?        00:00:00 lldpd: monitor.
_lldpd     13831   13828  0 10:02 ?        00:00:00 lldpd: 9 neighbors.

The config:

~$ show configuration commands | grep lld
set service lldp interface eth0
set service lldp interface eth1
set service lldp interface eth3
set service lldp interface eth5
set service lldp interface eth9
set service lldp legacy-protocols cdp
set service lldp snmp
~$ show version
Version:          VyOS 1.5-rolling-202402070021
Release train:    current

Built by:         [email protected]
Built on:         Wed 07 Feb 2024 02:18 UTC
Build UUID:       5d132ff8-e51c-4b37-aaa0-d5d18ad3b3bc
Build commit ID:  1227e6d796b836

Architecture:     x86_64
Boot via:         installed image
System type:      bare metal

Details

Difficulty level
Unknown (require assessment)
Version
1.5-rolling-202402070021
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav added a subscriber: Viacheslav.

It is not the bug.
There is the feature request T6045

This is not a feature request, this has been working until made the detail available only when the lldpd service was running or not. It was even documented:

https://docs.vyos.io/en/latest/configuration/service/lldp.html#opcmd-show-lldp-neighbors-detail

AFAIK this fix made the bug appear: https://vyos.dev/T2323

I even have a router with it working:

~$ show lldp neighbors detail
-------------------------------------------------------------------------------
LLDP neighbors:
-------------------------------------------------------------------------------
Interface:    eth3, via: LLDP, RID: 7, Time: 121 days, 21:24:37
  Chassis:
~$ show version
Version:          VyOS 1.4-rolling-202210160218
Release train:    current

Built by:         [email protected]
Built on:         Sun 16 Oct 2022 02:18 UTC
Build UUID:       1bf59828-bdcf-46f4-88af-91b426432ca2
Build commit ID:  9c397b77dc60a7

So this was effectively working previously