we were planning to replace cisco with ccr before replacing we thought of doing a simulation of router which it was going to be replaced. We made a labtest with linux quagga and rb-2011 router to check bgp. We were able to solve most of the things done on cisco but unable to advertise local-pref. Even though it was set set-bgp-local-pref in filter list and filter was applied to outgoing filter but no local prefix was advertised. Help would be appreciated
Are you originating the route, or learning it from elsewhere? If the latter, set the localpref when you learn the route, in your inbound filter, rather than in your outbound filter.
If these are static routes on the Mikrotik, you need to set localpref under IP/Route.
Otherwise, could you give us more information about your setup, and perhaps the config you are using, please?
they are static routes. we had added bgp local pref = 200 in static routes. but still my peer shows no local pref
thanks
Can you show your config, please? Can you confirm that both routers are configured with the same AS?
for example
a 65000-cisco
n 65001-mikrotik
c 65002-cisco
65001 peering 65002
65002 advertising route 10.11.12.0/8 to 65001 with local pref 110
65001 peering with 65000 and advertising routes of 65002 with local pref 110
thanks
local-pref will not propagate between two routers configured with different AS numbers. This is not a Mikrotik issue, that is just how BGP works.
thanks for your support. I have some queries.
when i connect to different AS like 65000 and 65001 why does it shows in mikrotik <>>bgp <> advertise<>origin ---- igp.
thanks
I’m not sure I understand your question, but I suspect one of your routers will show the route as originating from it’s own AS (igp) and the other will show it as originating from a different AS (egp). If this is not what you are asking, can you provide more detail (config, output showing the “problem”)?