Page MenuHomeVyOS Platform

show ipv6 route Broken on 1.4 Rolling
Closed, ResolvedPublicBUG

Description

It looks like show ipv6 route is broken on VyOS 1.4 rolling:

trae@cr01b-vyos:~$ show ipv6 route

  Incomplete command: show ipv6 route

trae@cr01b-vyos:~$ show ipv6 route
Possible completions:
  <h:h:h:h:h:h:h:h>
                Show IPv6 routes of given address or prefix
  <h:h:h:h:h:h:h:h/x>
  bgp           Show IPv6 BGP routes
  cache         Show kernel IPv6 route cache
  connected     Show IPv6 connected routes
  forward       Show kernel IPv6 route table
  isis          Show IPv6 IS-IS routes
  kernel        Show IPv6 Kernel routes
  ospfv3        Show IPv6 OSPF routes
  ripng         Show IPv6 RIPNG routes
  static        Show IPv6 static routes
  summary       Show IPv6 routes summary
  table         Show IPv6 routes in policy tables
  vrf           Show IPv6 routes in VRFs

This also affects 1.3-beta-202101120442

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.4-rolling-202101140218
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

c-po changed the task status from Open to Needs testing.Thu, Jan 14, 5:38 PM

It seems the problem not solved, "show ipv6 route" declared in different XML scripts, so one of them rewrites another.

https://github.com/vyos/vyos-1x/blob/current/op-mode-definitions/ipv6-route.xml.in#L27
https://github.com/vyos/vyos-1x/blob/current/op-mode-definitions/ipv6-route.xml.in#L106

and

https://github.com/vyos/vyos-1x/blob/current/op-mode-definitions/show-ipv6-route.xml.in#L10
https://github.com/vyos/vyos-1x/blob/current/op-mode-definitions/show-ipv6-route.xml.in#L96

If it's just because of overlay, you can merge two XML into one XML

Fixed in VyOS 1.4-rolling-202101160747 and VyOS 1.3-beta-202101160442

vyos@r5-roll:~$ show ipv6 route 
Codes: K - kernel route, C - connected, S - static, R - RIPng,
       O - OSPFv3, I - IS-IS, B - BGP, N - NHRP, T - Table,
       v - VNC, V - VNC-Direct, A - Babel, D - SHARP, F - PBR,
       f - OpenFabric,
       > - selected route, * - FIB route, q - queued route, r - rejected route

C * fe80::/64 is directly connected, eth0, 00:01:41
C * fe80::/64 is directly connected, eth2, 00:01:41
C * fe80::/64 is directly connected, eth1, 00:01:41
C * fe80::/64 is directly connected, tun0, 00:01:42
C>* fe80::/64 is directly connected, lo, 00:01:43