<div dir="auto"><div>Run "vtysh -b" after FRR is started and you should see the incorrect commands, vtysh will warn about them. This is what is done to apply frr.conf on startup.</div><div dir="auto"><br></div><div dir="auto">FRR doesn't log incorrect commands by default right now since that would add noise to the log file if you make normal mistakes while in an interactive session. I agree it would be helpful if we logged config issues at startup.</div><div dir="auto"><br>Quentin</div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Wed, Aug 21, 2019, 9:08 AM Michal Ruprich <<a href="mailto:michalruprich@gmail.com">michalruprich@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
so when I am using the vtysh and typing in commands manually, when I<br>
enter a wrong or non-existing command, I receive an error: '%Unknown<br>
command: COMMAND'. But how do I find out that some of the commands from<br>
my frr.conf file were wrong? I tried both 'log file' and 'log stdout'<br>
together with 'log commands'. With 'log file' and 'log commands' when I<br>
start frr, I can see the commands that were read from the frr.conf, but<br>
when there is a wrong command, no error shows up. Is this correct? The<br>
command is simply skipped.<br>
<br>
Now with 'log stdout' I am really not sure where the output gets<br>
redirected. In vtysh I don't see any logs showing up on the screen.<br>
Maybe I am missing something here? Do I miss some configuration<br>
somewhere to redirect the stdout somewhere? I was kind of assuming I<br>
would see the logs in the vtysh itself - sort of how on Cisco devices.<br>
<br>
If anyone could share some insight on this, I would be grateful. Thanks.<br>
<br>
<br>
Michal Ruprich<br>
<br>
<br>
<br>
_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@lists.frrouting.org" target="_blank" rel="noreferrer">dev@lists.frrouting.org</a><br>
<a href="https://lists.frrouting.org/listinfo/dev" rel="noreferrer noreferrer" target="_blank">https://lists.frrouting.org/listinfo/dev</a><br>
</blockquote></div></div></div>