Page MenuHomeVyOS Platform

LLDP shows description instead of remote port
Closed, ResolvedPublicBUG

Description

If the remote site has a description on the interface, the lldp shows the description as remote port
Local router config:

set service lldp interface eth0

Remote config:

set interfaces ethernet eth0 address '192.168.122.14/24'
set interfaces ethernet eth0 description 'UPLINK'
set service lldp interface eth0

Check op-mode, expected remote port eth0

vyos@r16:~$ show lldp neighbors 
Capability Codes: R - Router, B - Bridge, W - Wlan r - Repeater, S - Station
                  D - Docsis, T - Telephone, O - Other

Device    Local Port    Protocol    Capability    Platform                       Remote Port
--------  ------------  ----------  ------------  -----------------------------  -------------
r4        eth0          LLDP        BR            VyOS 1.5-rolling-202406130020  UPLINK
vyos@r16:~$

Expected:

vyos@r16:~$ show lldp neighbors 
Capability Codes: R - Router, B - Bridge, W - Wlan r - Repeater, S - Station
                  D - Docsis, T - Telephone, O - Other

Device    Local Port    Protocol    Capability    Platform                       Remote Port
--------  ------------  ----------  ------------  -----------------------------  -------------
r4        eth0          LLDP        BR            VyOS 1.5-rolling-202406130020  eth0
vyos@r16:~$

Details

Version
VyOS 1.5-rolling-202406130020
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav triaged this task as Low priority.
Viacheslav renamed this task from LLDP shows description instread of remote port to LLDP shows description instead of remote port.Jun 13 2024, 12:08 PM

Just some quick testing with 2 VyOS instances connected via 2 straight ethernet into a virtual switch. eth0 on the remote has been given a description of "ETHZERO".

Un-renamed port (in detail view):

Port:        
  PortID:       mac bc:24:11:f3:ab:a8
  PortDescr:    eth1

The summary view will use portDescr because the portID isn't an ifname.

Renamed port:

Port:        
  PortID:       ifname eth0
  PortDescr:    ETHZERO

The summary view will use portID because it has the right type (part of the PR for T6045).

$ show lldp neighbors 
Capability Codes: R - Router, B - Bridge, W - Wlan r - Repeater, S - Station
                  D - Docsis, T - Telephone, O - Other

Device           Local Port    Protocol    Capability    Platform                       Remote Port
---------------  ------------  ----------  ------------  -----------------------------  -------------
TEST-VYOS-LEFT   eth0          LLDP        R             VyOS 1.5-rolling-202406200020  eth1
TEST-VYOS-LEFT   eth0          LLDP        R             VyOS 1.5-rolling-202406200020  eth0

There might be other devices which send iffy LLDP but we'd need specific samples and logic to fix those up, VyOS->VyOS should be sorted in rolling. The included lldpd looks to be intelligently selecting what to advertise already and the PR checks portID first before moving on to portDescr.

dmbaturin edited projects, added VyOS Rolling; removed Restricted Project.Oct 14 2024, 10:47 AM
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
dmbaturin changed Issue type from Unspecified (please specify) to Bug (incorrect behavior).
Viacheslav claimed this task.
This comment was removed by Viacheslav.
Viacheslav removed Viacheslav as the assignee of this task.

Have test on VyOS 2025.09.01-0023-rolling

vyos@vyos:~$ show interfaces summary
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
eth0             192.168.244.128/24                u/u
eth1             192.168.141.128/24                u/u  VY-01
eth2             -                                 u/u
lo               127.0.0.1/8                       u/u
                 ::1/128

description remote port shows ifname

vyos@VyOS-2:~$ show lldp neighbors
Capability Codes: R - Router, B - Bridge, W - Wlan r - Repeater, S - Station
                  D - Docsis, T - Telephone, O - Other

Device    Local Port    Protocol    Capability    Platform                      Remote Port
--------  ------------  ----------  ------------  ----------------------------  -----------------
id        eth0          LLDP                                                    00:50:56:c0:00:09
vyos      eth0          LLDP        R             VyOS 2025.09.01-0023-rolling  eth1
id        eth0          LLDP                                                    00:50:56:c0:00:0e
id        eth1          LLDP                                                    00:50:56:c0:00:0a
id        eth2          LLDP                                                    00:50:56:c0:00:0b
vyos@vyos:~$ show lldp neighbors
Capability Codes: R - Router, B - Bridge, W - Wlan r - Repeater, S - Station
                  D - Docsis, T - Telephone, O - Other

Device    Local Port    Protocol    Capability    Platform                      Remote Port
--------  ------------  ----------  ------------  ----------------------------  -----------------
id        eth0          LLDP                                                    00:50:56:c0:00:0d
id        eth1          LLDP                                                    00:50:56:c0:00:0e
vyos      eth1          LLDP        R             VyOS 2025.09.01-0023-rolling  eth0
id        eth2          LLDP                                                    00:50:56:c0:00:0f

Summary:

show lldp neighbors

work properly

comand output as expected, with interface name in "Remote Port"
No problems were discovered.

Unknown Object (User) closed this task as Resolved.Sep 8 2025, 11:05 AM
Unknown Object (User) claimed this task.