Community discussions

MikroTik App
 
TheRealJLH
newbie
Topic Author
Posts: 30
Joined: Wed Feb 20, 2013 2:23 am

RouterOS v7

Tue Feb 15, 2022 5:08 am

ok everyone this is really frustrating.

how are we expected to maintain standards compliant networks when features do not work as expected or there is literally no documentation to explain how to use the new functions correctly..

let me explain the issue i am having i made a copy of my current configs and installed them in to a CHR image. I then upgraded from v6.49.2 to v7.1.2 everything went good except one major issue.

BGP filter communities are not working as they did before some just send all routes others do not set the community strings at all.

is there something i am missing? what is the proper way to set BGP route community tags ? and why is this not documented on the new help site ?
 
mkamenjak
newbie
Posts: 41
Joined: Tue Jul 13, 2021 12:49 pm

Re: RouterOS v7

Tue Feb 15, 2022 9:51 am

You should have read the changelogs.

Routing has been rewritten from 0. It is now more similar to Juniper or Cisco IOS XR routing than it was to routeros v6. Although I do admit that in winbox they should have done more than just give us a single large textbox for routing filters.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26322
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: RouterOS v7

Tue Feb 15, 2022 4:28 pm

There is documentation, you can find it here:

https://help.mikrotik.com/docs/display/ ... g+Examples (including about communities, also - use search)
https://help.mikrotik.com/docs/display/ ... re+Support

some more advanced stuff may not yet be fully implemented in v7, it's listed here:
https://help.mikrotik.com/docs/display/ ... col+Status
 
TheRealJLH
newbie
Topic Author
Posts: 30
Joined: Wed Feb 20, 2013 2:23 am

Re: RouterOS v7

Tue Feb 15, 2022 7:44 pm

I understand the help section talks about it and shows very basic examples and the status changelog shows that filters can append communities as well as large communities however like i said it simply does not work as explained it just errors out when i try to save the filter rule.
There is documentation, you can find it here:

https://help.mikrotik.com/docs/display/ ... g+Examples (including about communities, also - use search)
https://help.mikrotik.com/docs/display/ ... re+Support

some more advanced stuff may not yet be fully implemented in v7, it's listed here:
https://help.mikrotik.com/docs/display/ ... col+Status
 
TheRealJLH
newbie
Topic Author
Posts: 30
Joined: Wed Feb 20, 2013 2:23 am

Re: RouterOS v7

Tue Feb 15, 2022 7:53 pm

I did read the change logs which is why i did not apply it to the production system and why i copied the configs into a vm for testing.
You should have read the changelogs.

Routing has been rewritten from 0. It is now more similar to Juniper or Cisco IOS XR routing than it was to routeros v6. Although I do admit that in winbox they should have done more than just give us a single large textbox for routing filters.
 
TheRealJLH
newbie
Topic Author
Posts: 30
Joined: Wed Feb 20, 2013 2:23 am

Re: RouterOS v7  [SOLVED]

Tue Feb 15, 2022 8:47 pm

ok so i figured out that: if (dst-len in 16-22 && dst in 100.64.0.0/10) {append bgp-communities set1; accept}
will append the standard bgp community to outgoing routes, but now how does someone match based on the communities on incoming routes.
and how do you strip communities or reassign them if that is desired?

for example i use BGP for RTBH so i would like to read community value: 65535:666 and trigger the blackhole for that route,

update: 02/16/2022:

So it would seem i figured out how to do what i want and it turns out that when going from v6 to v7 the filters do not convert correctly must be a bug in the code because it dropped some filters in the chain.
but i found that the following does exactly what i wanted.

if (bgp-communities includes 65535:666) { set distance 1; append bgp-communities no-export,no-advertise; set blackhole yes; set comment RTBH; accept; }

Who is online

Users browsing this forum: No registered users and 18 guests