Hi guys, I am sorry if I am bringing this question again since I have been away from BIRD community for awhile. Can we show BGP “received-routes” command in BIRD right now? I understand the latest release is v1.4.2. Back in 2012, one suggestion to do it is to build up a table that receives all BGP routes and then do the filtering under pipe as per following which I haven’t tried. I hope we do not need to do this now. <snip> table t; protocol bgp { table t; import all; export all; ... } protocol pipe { peer table t; import < here goes filters for BGP export < here goes filters for BGP } <snip> Thanks, Jimmy
Hi guys, I am sorry if I am bringing this question again since I have been away from BIRD community for awhile. Can we show BGP “received-routes” command in BIRD right now? I understand the latest release is v1.4.2. Back in 2012, one suggestion to do it is to build up a table that receives all BGP routes and then do the filtering under pipe as per following which I haven’t tried. I hope we do not need to do this now. <snip> table t; protocol bgp { table t; import all; export all; ... } protocol pipe { peer table t; import < here goes filters for BGP export < here goes filters for BGP } <snip> Thanks, Jimmy
On Thu, Apr 10, 2014 at 11:40:04PM +0800, Jimmy Halim wrote:
Hi guys,
I am sorry if I am bringing this question again since I have been away from BIRD community for awhile. Can we show BGP ?received-routes? command in BIRD right now? I understand the latest release is v1.4.2.
Hello You could enable 'import keep filtered' option for a protocol and then use 'show route filtered' to see rejected routes, while 'show route' would show accepted routes. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
Hi Santiago, Thanks a lot. I verified it good with BIRD v1.3.9 and above. Cheers, Jimmy On 11/4/14 5:20 pm, "Ondrej Zajicek" <santiago@crfreenet.org> wrote:
On Thu, Apr 10, 2014 at 11:40:04PM +0800, Jimmy Halim wrote:
Hi guys,
I am sorry if I am bringing this question again since I have been away from BIRD community for awhile. Can we show BGP ?received-routes? command in BIRD right now? I understand the latest release is v1.4.2.
Hello
You could enable 'import keep filtered' option for a protocol and then use 'show route filtered' to see rejected routes, while 'show route' would show accepted routes.
-- Elen sila lumenn' omentielvo
Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (2)
-
Jimmy Halim -
Ondrej Zajicek