Page MenuHomeVyOS Platform

"show interfaces" returns invalid state when link is down
Closed, ResolvedPublicBUG

Description

When link is down (e.g. cable unplugged, or NIC disconnected in ESXi) but the interface itself is not in disable state it is still returned as beeing A/D (administrative down) in VyOS 1.3. Instead it shoudl return u/D

VyOS 1.3
vyos@vyos:~$ show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
eth0             -                                 u/u
eth1             -                                 u/u
eth2             -                                 A/D
VyOS 1.2
vyos@vyos:~$ show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
eth0             -                                 u/u
eth1             -                                 u/u
eth2             -                                 u/D

Details

Version
1.3-rolling-20200724
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)