Page MenuHomeVyOS Platform

The output of 'show interfaces kernel' has incorrect columns and layout issues
Closed, ResolvedPublic

Description

There's a few minor issues with the show interfaces kernel command's output.

  1. Tunnel interfaces report an IP address in the field where a MAC is expected
Interface    IP Address          MAC                VRF         MTU  S/L    Description
-----------  ------------------  -----------------  --------  -----  -----  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
tun0         192.168.100.200/24  192.0.2.10         default    1476  u/u
tun100       10.0.0.1/30         198.51.100.2       default    1476  u/u
  1. Podman created veth interfaces list it's parent network as a VRF instead of the actual VRF.
Interface    IP Address          MAC                VRF         MTU  S/L    Description
-----------  ------------------  -----------------  --------  -----  -----  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
pod-test     10.0.201.1/24       52:29:16:c9:81:be  default    1500  u/u
veth1        -                   d6:4c:fb:e1:b8:1b  pod-test   1500  u/u
veth2        -                   76:11:f3:6a:8d:99  pod-test   1500  u/u
  1. Long descriptions should wrap
Interface    IP Address          MAC                VRF         MTU  S/L    Description
-----------  ------------------  -----------------  --------  -----  -----  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
eth0         172.16.0.12/28      0c:28:d8:f7:00:00  default    1500  u/u    This is a really long description This is a really long description This is a really long description This is a really long description This is a really long description
  1. Non useful interfaces shouldn't be shown.
Interface    IP Address          MAC                VRF         MTU  S/L    Description
-----------  ------------------  -----------------  --------  -----  -----  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
erspan0      -                   00:00:00:00:00:00  default    1450  A/D
gre0         -                   0.0.0.0            default    1476  A/D
gretap0      -                   00:00:00:00:00:00  default    1462  A/D
pim6reg      -                                      default    1452  u/u
pim6reg101   -                                      test       1452  u/u
pim6reg102   -                                      test2      1452  u/u
tunl0        -                   0.0.0.0            default    1480  A/D

Expected Output:

Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface    IP Address          MAC                VRF        MTU  S/L    Description
-----------  ------------------  -----------------  -------  -----  -----  --------------------------------------------------
eth0         172.16.0.12/28      0c:28:d8:f7:00:00  default   1500  u/u    This is a really long description This is a really
                                                                           long description This is a really long description
                                                                           This is a really long description This is a really
                                                                           long description
pod-test     10.0.201.1/24       52:29:16:c9:81:be  testvrf   1500  u/u
tun0         192.168.100.200/24  n/a                default   1476  u/u
tun100       10.0.0.1/30         n/a                default   1476  u/u
veth1        -                   d6:4c:fb:e1:b8:1b  testvrf   1500  u/u
veth2        -                   76:11:f3:6a:8d:99  testvrf   1500  u/u

Details

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

Event Timeline

L0crian created this object in space S1 VyOS Public.
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 moved this task from Need Triage to Completed on the VyOS Rolling board.
Viacheslav moved this task from Open to Finished on the VyOS 1.5 Circinus (1.5-stream-2025-Q3) board.
dmbaturin renamed this task from op-mode: Updates to 'show interfaces kernel' to The output of 'show interfaces kernel' has incorrect columns and layout issues.Thu, Nov 13, 1:05 AM