Page MenuHomeVyOS Platform

show interfaces doesn't display pppoeX
Closed, ResolvedPublicBUG

Description

Show interfaces, doesn't display pppoeX interfaces.

VyOS config:

set interfaces ethernet eth0 description 'WAN01-pppoe'
set interfaces pppoe pppoe0 authentication password 'bar'
set interfaces pppoe pppoe0 authentication user 'foo'
set interfaces pppoe pppoe0 source-interface 'eth0'

Show interfaces

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  WAN01-pppoe
eth1             10.0.0.1/24                       u/u  LAN
eth2             192.0.2.12/24                     u/u  WAN02-dhcp
eth3             -                                 u/u  
lo               127.0.0.1/8                       u/u  
                 ::1/128                                
vyos@vyos:~$ 

vyos@vyos:~$ show interfaces pppoe 
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
vyos@vyos:~$ 

vyos@vyos:~$ show interfaces pppoe pppoe0 
pppoe0: Coming up
vyos@vyos:~$

PPPoE session is established

vyos@vyos:~$ sudo ip -c link show dev pppoe0
6: pppoe0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1492 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 3
    link/ppp 
vyos@vyos:~$ 

vyos@vyos:~$ sudo ip a show dev pppoe0
6: pppoe0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1492 qdisc pfifo_fast state UNKNOWN group default qlen 3
    link/ppp 
    inet 10.1.1.100 peer 10.1.1.1/32 scope global pppoe0
       valid_lft forever preferred_lft forever
vyos@vyos:~$

Details

Difficulty level
Normal (likely a few hours)
Version
VyOS 1.4-rolling-202103040218
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

Viacheslav renamed this task from show interfaces don't show pppoeX to show interfaces doesn't display pppoeX.Mar 4 2021, 9:42 PM
Viacheslav created this task.
Viacheslav updated the task description. (Show Details)

Expected output, in VyOS 1.3.0-rc1 works fine

showvyos@vyos:~$ show int
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
eth0             -                                 u/u  WAN01-pppoe
eth1             10.0.0.1/24                       u/u  LAN
eth2             192.0.2.12/24                     u/u  WAN02-dhcp
eth3             -                                 u/u  
lo               127.0.0.1/8                       u/u  
                 ::1/128                                
pppoe0           10.1.1.101/32                     u/u
Viacheslav changed the task status from Open to Confirmed.Mar 4 2021, 10:53 PM
Dmitry added a subscriber: Dmitry.

Also does not display other interfaces under the end node

vyos@RTR1# run show interfaces 
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
eth0             xxx.xxx.36.246/24                 u/u  
lo               127.0.0.1/8                       u/u  
                 ::1/128                                
tun0             2001:470:xxxx:xxx::2/64           u/u  HE.NET IPv6 Tunnel
[edit]
vyos@RTR1# run show interfaces tunnel 
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
[edit]
vyos@RTR1# run show interfaces ethernet 
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
[edit]
vyos@RTR1#