Community discussions

MikroTik App
 
mikhan
just joined
Topic Author
Posts: 6
Joined: Mon Aug 16, 2021 5:56 am

How to use "input accept communities" in BGP?

Fri Jun 24, 2022 5:21 pm

https://help.mikrotik.com/docs/display/ROS/BGP
input.accept-comunities (string; Default: ) A quick way to filter incoming updates with specific communities. It allows filtering incoming messages directly before they are even parsed and stored in memory, that way significantly reducing memory usage. Regular input filter chain can only reject prefixes which means that it will still eat memory and will be visible in /routing route table as "not active, filtered". Changes to be applied required session refresh.

I use a service that provides a bunch of bgp communities and I want to filter some of them.
E.g. I need 65444:700 and 65444:710

so I add:
/routing filter community-list
add communities=65444:710,65444:700 disabled=no list=some_list
I edit my bgp connection to enable input.accept-communities
/routing bgp connection
add as=*** disabled=no hold-time=4m input.accept-communities=some_list \
    .filter=bgp_in keepalive-time=1m listen=yes local.address=*** .role=\
    ebgp multihop=yes name=some_bgp output.filter-chain=discard \
    remote.address=*** .as=65444 router-id=*** \
    routing-table=main
filter to enable gw to routes:
/routing filter rule
add chain=bgp_in disabled=no rule="set gw some_gw; accept"

But nothing happens, I still receive all the communities.
It works only f I use filtering like below:
/routing filter rule
add chain=bgp_in disabled=no rule="if ( bgp-communities equal 65444:700 || bg\
    p-communities equal 65444:710) {set gw some_gw; accept}"
But it's a waste of resources...
 
mikhan
just joined
Topic Author
Posts: 6
Joined: Mon Aug 16, 2021 5:56 am

Re: How to use "input accept communities" in BGP?

Thu Jul 21, 2022 12:31 pm

anyone?
 
alexkerch
just joined
Posts: 4
Joined: Wed May 20, 2020 5:14 pm

Re: How to use "input accept communities" in BGP?

Sun Sep 25, 2022 9:30 pm

Please tell me, were you able to solve your problem and in what way?
 
mikhan
just joined
Topic Author
Posts: 6
Joined: Mon Aug 16, 2021 5:56 am

Re: How to use "input accept communities" in BGP?

Tue Sep 27, 2022 1:21 pm

No. They say it's a bug in routeros.
 
mikhan
just joined
Topic Author
Posts: 6
Joined: Mon Aug 16, 2021 5:56 am

Re: How to use "input accept communities" in BGP?

Thu May 25, 2023 10:25 am

anyone? :)
 
Institor
just joined
Posts: 22
Joined: Sat Apr 29, 2017 3:28 pm

Re: How to use "input accept communities" in BGP?

Sun Aug 13, 2023 11:19 am

WTF mikrotik? Nobody uses this feature?
i'd like to use .accept-comunities in BGP to reduce memory usage (according to VERY poorly written documentation mentioned above), but it's not working.
How it is supposed to work? Community list in /routing/filters or directly enter communities to input.accept-communities?

Anyway, can anyone provide a link to where
They say it's a bug in routeros.
?
 
User avatar
nithinkumar2000
Member Candidate
Member Candidate
Posts: 167
Joined: Wed Sep 11, 2019 7:42 am
Location: Coimbatore
Contact:

Re: How to use "input accept communities" in BGP?

Thu Nov 16, 2023 3:11 pm

Looking for same Answer.

Hope some one can Help
 
User avatar
nithinkumar2000
Member Candidate
Member Candidate
Posts: 167
Joined: Wed Sep 11, 2019 7:42 am
Location: Coimbatore
Contact:

Re: How to use "input accept communities" in BGP?

Sun Nov 19, 2023 10:03 pm

Appriciate if any one can put some light into this topic!!!
 
UncleGringo
just joined
Posts: 5
Joined: Tue Oct 20, 2020 6:29 pm

Re: How to use "input accept communities" in BGP?

Mon May 06, 2024 4:12 am

Appriciate if any one can put some light into this topic!!!
now there are two of us :D

Anyone more?
 
User avatar
nithinkumar2000
Member Candidate
Member Candidate
Posts: 167
Joined: Wed Sep 11, 2019 7:42 am
Location: Coimbatore
Contact:

Re: How to use "input accept communities" in BGP?

Tue May 21, 2024 1:35 pm

no one is using this or no one is aware of this??? :lol:
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7185
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: How to use "input accept communities" in BGP?

Tue May 21, 2024 2:18 pm

currently input.accept-communities does not work as intended, problem is known and it will be addressed in the future.
 
User avatar
spippan
Member
Member
Posts: 463
Joined: Wed Nov 12, 2014 1:00 pm

Re: How to use "input accept communities" in BGP?

Tue May 21, 2024 2:47 pm

currently input.accept-communities does not work as intended, problem is known and it will be addressed in the future.
people are switching more and more to ROSv7 for BGP services
please shift the focus more to bgp related functions in ROSv7

somehow operators see the benefits of price/performance of MT CCRs - guess because of the insane licensing madness of other "big brands"
 
Deneb
just joined
Posts: 3
Joined: Tue May 29, 2018 4:55 pm
Location: Russian
Contact:

Re: How to use "input accept communities" in BGP?

Wed Jun 19, 2024 5:06 pm

Almost 2 years from topic start - Still actual

Who is online

Users browsing this forum: No registered users and 6 guests