Print function
Martin Mares
mj at ucw.cz
Thu May 27 10:46:36 CEST 2004
Hello!
> 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 ?
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 ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/
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