Page MenuHomeVyOS Platform

Incomplete command `show ipv6 ospfv3 linkstate`
Closed, ResolvedPublicBUG

Description

r6:~$ show ipv6 ospfv3 linkstate 
Possible completions:
  detail        Show detailed information
  network       Show linkstate Network information
  router        Show linkstate Router information

      
r6:~$ show ipv6 ospfv3 linkstate detail 
Possible completions:
  <Enter>       Execute the current command

      
r6:~$ show ipv6 ospfv3 linkstate detail 
% Command incomplete: show ipv6 ospf6 linkstate

The corresponding command in vtysh looks okay:

r3# show ipv6 ospf6 linkstate detail 

        SPF Result in Area 0

Destination: 23.153.128.17
Destination type: Linkstate
Installed Time: 00:06:15 ago
  Changed Time: 00:06:15 ago
Lock: 2 Flags: BA--
Memory: prev: 0x0 this: 0x561cbf6b0440 next: 0x561cbf6c11f0
Associated Area: 0.0.0.0
Path Type: Intra-Area
LS Origin: Router Id: 0.0.0.0 Adv: 23.153.128.17
Options: --|R|-|--|E|V6
Router Bits: ------E-
Prefix Options: xxx
Metric Type: 1
Metric: 100 (1)
Paths count: 0
Nexthop count: 1
Nexthop:
  fe80::fdcc:72ff:feba:509b wg36

Details

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

Event Timeline

Viacheslav changed the task status from Open to Confirmed.EditedWed, May 26, 11:39 AM
Viacheslav added a subscriber: Viacheslav.

The word "detail" is cut off for some reason.
https://github.com/vyos/vyos-1x/blob/32bc1e5babd1bd31909a93ca1818998bf46db003/op-mode-definitions/include/ospfv3-detail.xml.i#L7

Changing for Debug:

run: echo "DEBUG: vtysh -c 'show ipv6 ospf6 ${@:4}'" && vtysh -c "show ipv6 ospf6 ${@:4}"

Debug. In echo, it contains detail but not in vtysh cmd

vyos@r4-1.3:~$ show ipv6 ospfv3 linkstate detail 
DEBUG: vtysh -c 'show ipv6 ospf6 linkstate detail'
% Command incomplete: show ipv6 ospf6 linkstate
vyos@r4-1.3:~$

Also "network" and "router" should to propose x.x.x.x

vyos@r4-1.3:~$ show ipv6 ospfv3 linkstate network 
Possible completions:
  <Enter>       Execute the current command

vyos@r4-1.3:~$ show ipv6 ospfv3 linkstate router 
Possible completions:
  <Enter>       Execute the current command


vyos@r4-1.3:~$ show ipv6 ospfv3 linkstate network 
% Command incomplete: show ipv6 ospf6 linkstate network
vyos@r4-1.3:~$

Vtysh

r4-1.3# show ipv6 ospf6 linkstate network 
  A.B.C.D  Specify Router ID as IPv4 address notation

r4-1.3# show ipv6 ospf6 linkstate router 
  A.B.C.D  Specify Router ID as IPv4 address notation

PR https://github.com/vyos/vyos-1x/pull/855

vyos@r4-1.3:~$ show ipv6 ospfv3 linkstate detail 

        SPF Result in Area 0

Destination: 1.2.3.4
Destination type: Linkstate
Installed Time: 01:32:09 ago
  Changed Time: 01:32:09 ago
Lock: 2 Flags: BA--
Memory: prev: 0x0 this: 0x5631a0aaa430 next: 0x0
Associated Area: 0.0.0.0
Path Type: Intra-Area
LS Origin: Router Id: 0.0.0.0 Adv: 1.2.3.4
Options: --|R|-|--|E|V6
Router Bits: --------
Prefix Options: xxx
Metric Type: 1
Metric: 0 (0)
Paths count: 0
Nexthop count: 0
Nexthop:

vyos@r4-1.3:~$ 
vyos@r4-1.3:~$ show ipv6 ospfv3 linkstate router 1.2.3.4

        SPF Result in Area 0

Destination: 1.2.3.4
Destination type: Linkstate
Installed Time: 01:32:12 ago
  Changed Time: 01:32:12 ago
Lock: 2 Flags: BA--
Memory: prev: 0x0 this: 0x5631a0aaa430 next: 0x0
Associated Area: 0.0.0.0
Path Type: Intra-Area
LS Origin: Router Id: 0.0.0.0 Adv: 1.2.3.4
Options: --|R|-|--|E|V6
Router Bits: --------
Prefix Options: xxx
Metric Type: 1
Metric: 0 (0)
Paths count: 0
Nexthop count: 0
Nexthop:

vyos@r4-1.3:~$
Viacheslav claimed this task.