Page 1 of 1

Advanced BGP Setup

Posted: Wed Nov 01, 2017 1:14 am
by carter323
Hi there,

We have just jumped on the bandwagon and ordered a couple of CCR1072 to replace our current Cisco router that manages our upstream peers (yay!).

My job, will be to configure these :)

I have not configured anything Mikrotik before, and while the basics of it are sound and simple, I cant find too much information on BGP. Specifically, I know what I need to do in the Cisco world, but what is translates to for Mikrotik I am not sure.

For example. Currently we configure route maps and match or set those to configured BGP communities in order to send and recieve the correct routes. EG a route map kind of like below specifies what routes to SEND:

route-map AS1234-OTW-OUT deny 10
match community AS11111-DENY_TRANSIT
!
route-map AS1234-OTW-OUT deny 20
match community AS11111-PEERING_ROUTES
!
route-map AS1234-OTW-OUT deny 30
description Deny routes longer than /24
match ip address prefix-list LONGER-THAN-24
!
route-map AS1234-OTW-OUT permit 60
match community AS11111-Originated_prefixes

And below specifies what routes to recieve:

route-map AS1234-OTW-IN permit 10
description Take default + local routes.
set local-preference 150
set community 11111:3111 additive (this matches to a community to deny readvertising to another peer via a different route map)

My question is is there a straight forward translation for things such as:
1. Prefix Lists
2. Route Maps (are these Filters?)
3. BGP Communities

Would be good to hear from anyone else who has made the Cisco to Mikrotik jump and their experiences and thoughts.
Cheers

Re: Advanced BGP Setup

Posted: Thu Nov 02, 2017 11:33 am
by Anumrak

Re: Advanced BGP Setup

Posted: Thu Nov 02, 2017 11:25 pm
by patrick7
Wrong, prefixlists cannot be used with BGP on MikroTik.

Re: Advanced BGP Setup

Posted: Fri Nov 03, 2017 10:37 am
by Anumrak
Prefix lists the same as out-filter. If you want to give out some subnets with explicit prefixes, you can assign them in filter.

Re: Advanced BGP Setup

Posted: Fri Nov 03, 2017 5:41 pm
by JimmyNyholm
And chains can point to chains in the matching process....