[FROG] vtysh -f "Unknown command"

Donald Sharp sharpd at cumulusnetworks.com
Mon Dec 2 20:43:36 EST 2019


so using the `-f` option implies that you are in configuration
sub-mode for FRR.  `show daemons` is not a configuration command and
will fail the installation.

donald

On Mon, Dec 2, 2019 at 3:24 PM Volodymyr Litovka <doka.ua at gmx.com> wrote:
>
> Dear friends,
>
> probably, I'm missing something, but I'm not able to use "vtysh -f <filename>", while "vtysh -c" works perfectly:
>
> # vtysh -c "show daemons"
>  zebra bgpd watchfrr staticd
> # cat inp.txt
> show daemons
> # vtysh -f inp.txt
> line 1: % Unknown command[4]: show daemons
> # echo "show daemons" | vtysh -f /dev/stdin
> line 1: % Unknown command[4]: show daemons
>
> FRR v7.2 under Ubuntu 18.04
>
> I will appreciate any ideas on how to configure FRR using pre-generated configuration.
>
> Thank you!
>
> --
> Volodymyr Litovka
>   "Vision without Execution is Hallucination." -- Thomas Edison
>
> _______________________________________________
> frog mailing list
> frog at lists.frrouting.org
> https://lists.frrouting.org/listinfo/frog



More information about the frog mailing list