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

Difficulty level
Easy (less than an hour)
Version
1.3-rolling-20200724
Why the issue appeared?
Implementation mistake
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

c-po claimed this task.
c-po triaged this task as Normal priority.
c-po changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
c-po changed Why the issue appeared? from Will be filled on close to Implementation mistake.
c-po changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
erkin set Issue type to Bug (incorrect behavior).Aug 29 2021, 1:43 PM
erkin removed a subscriber: Active contributors.