Print function

Martin Mares mj at
Thu May 27 10:46:36 CEST 2004


> Today I have diside to fix some RIP with our clients (in my company) and
> I find that I can not find any messages from print function called from
> filters. First I hav tried to find host sending me RIP with wrong
> routes. I tried:
> bird> show route table master where from !=
>    via on eth0 [TestRIP 11:23] (120/2)
>        dev lo [direct1 May15] (240)
>      dev eth0 [direct1 May15] (240)
>   dev eth0 [direct1 May15] (240)
>     dev eth0 [direct1 May19] (240)
>     dev eth0 [direct1 May15] (240)
>                    via on eth0 [TestRIP 11:23] (120/2)
> And that was all about routes.
> How can I see "from" of this routes ?

Does the "all" modifier help?

> Then I tried to write filter which must print "from" but any my filters
> prints nothing, for example:
> bird> show route table master filter {print "qqqqq";}
> bird>
> Where should I find "qqqqq" ? :-)

It should be in the log, try `echo all' first to see it in the CLI.

				Have a nice fortnight
Martin `MJ' Mares   <mj at>
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
There really exists a Microsoft product that doesn't suck -- unfortunately, it's a vacuum cleaner.

More information about the Bird-users mailing list