Community discussions

MUM Europe 2020
 
blackmetal
Member Candidate
Member Candidate
Topic Author
Posts: 199
Joined: Mon Aug 16, 2010 9:01 am

question about bgp community

Wed Jan 15, 2020 8:41 am

Hello,
Is there anyway that implement in our route filter that accept routes from a peer with no tag and with a specific tag in one route filer?
Thanks
 
User avatar
IPANetEngineer
Trainer
Trainer
Posts: 1102
Joined: Fri Aug 10, 2012 6:46 am
Location: Jackson, MS, USA
Contact:

Re: question about bgp community

Sun Jan 19, 2020 10:36 pm

Can you be a little more specific?

Do you want to filter by prefix/length with a community and by prefix/length without a community?
Global - MikroTik Support & Consulting - English | Francais | Español | Portuguese +1 855-645-7684
https://iparchitechs.com/services/mikro ... l-support/ mikrotiksupport@iparchitechs.com
 
blackmetal
Member Candidate
Member Candidate
Topic Author
Posts: 199
Joined: Mon Aug 16, 2010 9:01 am

Re: question about bgp community

Mon Jan 20, 2020 8:37 am

Hello,
yes i want to permit a prefix/length with a community and with no community at same time,
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 1556
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Randburg
Contact:

Re: question about bgp community

Mon Jan 20, 2020 11:40 am

I dont think it can be done in one rule, just create an accept rule for the community one, then another for the no community one before your discard rule
MTCNA, MTCTCE, MTCRE & MTCINE
 
blackmetal
Member Candidate
Member Candidate
Topic Author
Posts: 199
Joined: Mon Aug 16, 2010 9:01 am

Re: question about bgp community

Mon Jan 20, 2020 11:52 am

yes i know i can do it by 2 rules, but due to high filtering rules i am looking to optimze them
 
pe1chl
Forum Guru
Forum Guru
Posts: 6176
Joined: Mon Jun 08, 2015 12:09 pm

Re: question about bgp community

Mon Jan 20, 2020 12:16 pm

It is not clear to me what you exactly want to achieve and how you got so many rules, but maybe you can make use of the "jump" action to re-use the same ruleset for 2 different conditions.

I.e. in your input filter you setup 2 jump rules for "no community" and "your special community" that both jump to another ruleset that does all your other work.

Who is online

Users browsing this forum: No registered users and 5 guests