[dev] vtysh: Missing "Show Ip" Commands

Carr, Christopher christopher.carr at abaco.com
Mon Aug 19 09:00:11 EDT 2019


Below is the output of the "show ver" command.

quagga-router# show ver
FRRouting 7.2-dev (quagga-router).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
configured with:
    '--build=x86_64-linux' '--host=powerpc-owc-linux-gnuspe' '--target=powerpc-owc-linux-gnuspe' '--prefix=/usr' '--exec_prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib/frrouting' '--datadir=/usr/share' '--sysconfdir=/etc' '--sharedstatedir=/com' '--localstatedir=/var' '--libdir=/usr/lib' '--includedir=/usr/include' '--oldincludedir=/usr/include' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--disable-silent-rules' '--disable-dependency-tracking' '--with-libtool-sysroot=/srv/nfs/chris/owc_main_dev/yocto/poky/build-pandora/tmp/sysroots/pandora-dx1014' '--disable-ldpd' '--disable-nhrpd' '--disable-eigrpd' '--disable-babeld' '--enable-systemd' '--disable-pimd' '--disable-bfdd' '--disable-irdp' '--disable-pbrd' '--disable-ospfclient' '--disable-isisd' '--disable-fabricd' '--disable-vrrpd' '--disable-werror' '--enable-user=quagga' '--enable-group=quagga' '--enable-vty-group=quaggavty' '--with-moduledir=/usr/lib/frr/modules' '--sbindir=/usr/lib/frr' '--sysconfdir=/etc/frr' '--libdir=/usr/lib/frr' '--libexecdir=/usr/lib/frrouting/frr' '--localstatedir=/var/run/frr' '--disable-capabilities' 'build_alias=x86_64-linux' 'host_alias=powerpc-owc-linux-gnuspe' 'target_alias=powerpc-owc-linux-gnuspe' 'PKG_CONFIG_PATH=/srv/nfs/chris/owc_main_dev/yocto/poky/build-pandora/tmp/sysroots/pandora-dx1014/usr/lib/pkgconfig:/srv/nfs/chris/owc_main_dev/yocto/poky/build-pandora/tmp/sysroots/pandora-dx1014/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/srv/nfs/chris/owc_main_dev/yocto/poky/build-pandora/tmp/sysroots/pandora-dx1014/usr/lib/pkgconfig' 'CC=powerpc-owc-linux-gnuspe-gcc -m32 -mcpu=8548 -mabi=spe -mspe -mfloat-gprs=double --sysroot=/srv/nfs/chris/owc_main_dev/yocto/poky/build-pandora/tmp/sysroots/pandora-dx1014' 'CPPFLAGS=' 'CPP=powerpc-owc-linux-gnuspe-gcc -E --sysroot=/srv/nfs/chris/owc_main_dev/yocto/poky/build-pandora/tmp/sysroots/pandora-dx1014 -m32 -mcpu=8548 -mabi=spe -mspe -mfloat-gprs=double' 'CXX=powerpc-owc-linux-gnuspe-g++ -m32 -mcpu=8548 -mabi=spe -mspe -mfloat-gprs=double --sysroot=/srv/nfs/chris/owc_main_dev/yocto/poky/build-pandora/tmp/sysroots/pandora-dx1014'

> -----Original Message-----
> From: Donald Sharp [mailto:sharpd at cumulusnetworks.com]
> Sent: 19 August 2019 13:54
> To: Carr, Christopher <christopher.carr at abaco.com>
> Cc: dev at lists.frrouting.org
> Subject: Re: [dev] vtysh: Missing "Show Ip" Commands
> 
> 
> 
> [**EXTERNAL SOURCE**]:Please verify the source before clicking link or
> opening attachment.
> 
> Ignore my first email.  I needed to configure rip to do show commands
> 
> Since `show ip...` is missing can you give us the output of `show ver`?
> 
> donald
> 
> On Mon, Aug 19, 2019 at 8:34 AM Carr, Christopher
> <christopher.carr at 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 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
> >
> > _______________________________________________
> > dev mailing list
> > dev at lists.frrouting.org
> > https://lists.frrouting.org/listinfo/dev


More information about the dev mailing list