Community discussions

MikroTik App
 
borisk
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 97
Joined: Mon Jul 04, 2016 10:02 pm
Location: Nizhniy Tagil, Russia

BGP delete communities

Mon Jul 04, 2016 10:09 pm

Hello!

I'm sorry, I tried to find this answer on Internet and haven't found. This is my first expirience with Mikrotik. The RouterOS is great, but... the simple task I can do with other software: I need to delete some communities from prefix in filter. In other words I need cisco like:

route-map rm-bgp-uwes-out permit 1300
 match  community 30910:1122
 set as-path prepend 30910 30910
 set comm-list 30910:ALL delete

Thanks in advance,
Boris
 
User avatar
Cha0s
Forum Guru
Forum Guru
Posts: 1142
Joined: Tue Oct 11, 2005 4:53 pm

Re: BGP delete communities

Tue Jul 05, 2016 12:21 am

/routing filters add action=accept bgp-communities=30910:1122 chain=rm-bgp-uwes-out set-bgp-communities="" set-bgp-prepend=2
This should be the equivalent of the cisco filter you posted.
It matches any prefixes with BGP community 30910:1122, and it strips any bgp communities and adds a prepend of 2 (30910 30910).

Your peer(s) should have an Outgoing filter that either jumps to this (rm-bgp-uwes-out) or simply use this one directly (I don't know what other rules you might have)
 
borisk
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 97
Joined: Mon Jul 04, 2016 10:02 pm
Location: Nizhniy Tagil, Russia

Re: BGP delete communities

Tue Jul 05, 2016 9:19 am

Cha0s, your example is good, but not suitable for me. In my example I only need to delete communities started with 30910:, all other communities MUST passthrought
 
patrick7
Member
Member
Posts: 343
Joined: Sat Jul 20, 2013 2:40 pm

Re: BGP delete communities

Tue Jul 05, 2016 1:23 pm

Not possible at the moment :(
 
borisk
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 97
Joined: Mon Jul 04, 2016 10:02 pm
Location: Nizhniy Tagil, Russia

Re: BGP delete communities

Tue Jul 05, 2016 5:51 pm

May be this is already planned for future version?
 
User avatar
Cha0s
Forum Guru
Forum Guru
Posts: 1142
Joined: Tue Oct 11, 2005 4:53 pm

Re: BGP delete communities

Tue Jul 05, 2016 6:03 pm

If this will ever be implemented, it will be on version 7.

Mikrotik has announced that they will not provide any updates to the routing package on v6.
 
borisk
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 97
Joined: Mon Jul 04, 2016 10:02 pm
Location: Nizhniy Tagil, Russia

Re: BGP delete communities

Tue Jul 05, 2016 8:04 pm

Ough :( So, what is roadmap for v7?
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4047
Joined: Wed May 11, 2011 6:08 pm

Re: BGP delete communities

Wed Jul 06, 2016 4:52 pm

Ough :( So, what is roadmap for v7?
There is no roadmap for v7 - There have been a few teasers posted about it, but Mikrotik has made no announcements regarding an expected release timeframe.
Some people have started to jokingly refer to it as "ROS Longhorn"

Who is online

Users browsing this forum: Amazon [Bot] and 57 guests