Print function

Pavel Machek pavel at ucw.cz
Thu May 27 10:43:53 CEST 2004


Hi!

> 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 != 217.29.80.1
> 81.1.232.240/29    via 217.29.81.17 on eth0 [TestRIP 11:23] (120/2)
> 127.0.0.0/8        dev lo [direct1 May15] (240)
> 81.1.238.0/23      dev eth0 [direct1 May15] (240)
> 217.107.206.0/23   dev eth0 [direct1 May15] (240)
> 172.16.27.0/24     dev eth0 [direct1 May19] (240)
> 217.29.80.0/23     dev eth0 [direct1 May15] (240)
>                    via 217.29.80.206 on eth0 [TestRIP 11:23] (120/2)
> 
> And that was all about routes.
> 
> How can I see "from" of this routes ?
> 
> 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" ? :-)

bird has some kind of logging system... printing surely works, it is
used in printer self-tests. [Unfortunately I do not recall _how_ it 
works ;-)]

								Pavel
-- 
934a471f20d6580d5aad759bf0d97ddc



More information about the Bird-users mailing list