Problem with bgp_local_pref on peer and filter
Przemysław Knycz
pknycz at kolnet.eu
Sun Nov 21 09:38:21 CET 2010
Hello!
I have wird problems with settings bgp_local_pref to routes imported
from peer. Version 1.2.4 and 1.2.5.
My conf:
filter bgp_import_prefix {
if (net ~ [ 0.0.0.0/0 ]) then reject;
bgp_local_pref=150;
accept;
}
filter bgp_export_prefix {
if (net ~ [ 213.5.248.0/21, 88.135.160.0/19 ]) && (source =
RTS_STATIC) then accept;
reject;
}
protocol bgp EPIX_RS1 {
description "EPIX";
local as 50188;
neighbor 195.191.170.1 as 50607;
default bgp_local_pref 100;
import filter bgp_import_prefix;
export filter bgp_export_prefix;
}
I've checked, filter works when i add "quitbird". Wird was that once
it works i've local_pref for this feed 150, but when i've restarted,
it sets to 100... I don't know why it doesnt work.
I've also changed "default bgp_local_pref" to 150, but it still sets to 100 ;-/
Unfortunatly at doc there isnt any sample with using bgp_local_pref at all :(
Please help!
Regards.
--
. Przemyslaw Stanislaw Knycz, xmpp:djrzulf at kol.net.pl .
| Wireless & IT specialist --- Mobile : +48 601391681 |
| KIKE Founder & Member [GRAP] -- http://www.kike.pl/ |
`- Futurama -- you can't prove it won't happen -'
More information about the Bird-users
mailing list