Page MenuHomeVyOS Platform

support for more 'show ip route' commands
Closed, ResolvedPublicFEATURE REQUEST

Description

The show ip route command should support more commands, like FRR does from vtysh terminal.

Example:

vyos@vyos-gns3:~$ show ip route tag 20

  Invalid command: show ip route tag [20]

vyos@vyos-gns3:~$ vtysh

Hello, this is FRRouting (version 7.0.1-20190820-04-g047efd6).
Copyright 1996-2005 Kunihiro Ishiguro, et al.

vyos-gns3# show ip route tag 20
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
       F - PBR, f - OpenFabric,
       > - selected route, * - FIB route

B>* 172.16.251.0/24 [20/0] via 172.24.1.218, tun0, 00:11:31
B>* 172.16.253.0/24 [20/0] via 172.24.1.226, tun1, 00:11:30

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)

Event Timeline

@olofl How do you set the tag? via CLI?

@hagbard via a route-map for example. set policy route-map TAG rule 10 set tag 33

Also show ip route json works in VyOS shell, however, there is no tab completion hint for it.

The cli part for the routing suite is up for rewrite, json is only working because it's supported by frr and the cli doesn't filter it. I think getting show ip route tag 20 working shouldn't be a big deal, but I try to avoid to add too much to the cli, will make just the rewrite way harder.

syncer edited projects, added VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.
erkin set Issue type to Feature (new functionality).Tue, Aug 31, 6:38 PM