Christopher - Something looks broken to me: sharpd@eva:/proc/net$ ps -ef | grep frr frr 1946 1714 0 08:17 ? 00:00:00 /usr/lib/frr/zebra --daemon frr 1989 1714 0 08:18 ? 00:00:00 /usr/lib/frr/pimd --daemon frr 3027 1714 0 08:37 ? 00:00:00 /usr/lib/frr/ripd --daemon sharpd 3040 2836 0 08:38 pts/1 00:00:00 grep --color=auto frr sharpd@eva:/proc/net$ sudo vtysh -c "show ip rip status" % RIP instance not found sharpd@eva:/proc/net$ Let me see if I can figure out when this happened and get it fixed. donald On Mon, Aug 19, 2019 at 8:34 AM Carr, Christopher <christopher.carr@abaco.com> wrote:
I was unclear if this should be asked on the dev mailing list or as an issue on GitHub.
We are currently using Quagga on our systems and I am investigating moving over to FRRouting.
I've been building FRRouting with a custom Yocto recipe, cross-compiled for the PPC. (I'm using one of the latest commits rather than a released version from GitHub, as there were some fixes for hosttools that was not available in the release) So far I've got it to the point where my build completes, and I have binaries that run on the target. As my system used quagga before, I've configured FRR to use the quagga and quaggavty user/groups. The installed files on the switch have also been chown'd with quagga/quaggavty as appropriate.
The one thing that I'm having trouble figuring out is the exposing of the "show ip" commnds via vtysh.
Running just zebra, staticd and ripd the vtysh utility will only show the default subset of "show" commands. All the "show ip", "show ip rip" etc are missing.
However if I telnet directly to the ripd port, after setting a password via vtysh, then everything is present via that telnet connection. I've tried both configure and privileged mode to see if the command set changed to display these, but neither did. I've included the output of the success and failure below.
I've looked at the vtysh code however nothing is jumping out as obviously wrong.
I'm guessing that I've not configured something in the build correctly, but I'm confused as to what it could be. Searching the mailing lists and GitHub issues hasn't unearthed and similar issues.
Does anyone have any pointers to areas that I might look at to solve this be it in configuration, compilation or installation etc.
Thanks Chris Carr
Eg. [root@openware]# vtysh Hello, this is FRRouting (version 7.2-dev). Copyright 1996-2005 Kunihiro Ishiguro, et al. quagga-router# show daemons Show list of running daemons debugging Debugging functions error Information on errors log-filter Filter Logs logging Show current logging configuration memory Memory statistics modules Loaded modules running-config Current operating configuration startup-config Contents of startup configuration thread Thread information version Displays zebra version work-queues Work Queue information
[root@openware]# vtysh -d ripd Hello, this is FRRouting (version 7.2-dev). Copyright 1996-2005 Kunihiro Ishiguro, et al. quagga-router# show daemons Show list of running daemons debugging Debugging functions error Information on errors log-filter Filter Logs logging Show current logging configuration memory Memory statistics modules Loaded modules running-config Current operating configuration startup-config Contents of startup configuration thread Thread information version Displays zebra version work-queues Work Queue information
[root@openware]# telnet localhost 2601 [root@openware]# telnet localhost 2602 Hello, this is FRRouting (version 7.2-dev). Copyright 1996-2005 Kunihiro Ishiguro, et al. User Access Verification Entering character mode Escape character is '^]'. Password: openware> openware> show commandtree Show command tree debugging Debugging information error Information on errors evpn EVPN history Display the session command history interface Interface status and configuration ip IP information ipv6 IPv6 information log-filter Filter Logs logging Show current logging configuration memory Memory statistics modules Loaded modules mpls MPLS information pbr Policy-Based Routing thread Thread information version Displays zebra version vrf VRF work-queues Work Queue information zebra Zebra information
_______________________________________________ dev mailing list dev@lists.frrouting.org https://lists.frrouting.org/listinfo/dev