[dev] vtysh: Missing "Show Ip" Commands
Carr, Christopher
christopher.carr at abaco.com
Mon Aug 19 08:15:16 EDT 2019
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 at 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 at 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 at openware]# telnet localhost 2601
[root at 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
More information about the dev
mailing list