Today I have a question about Mikrotik OS7 v 7.12 Filtering bgp routes. My connection is iBGP with an ISP. I want to Filter / reject some as-paths. Recently I used this filter.
if (bgp-as-path 7XXX) {reject}
When I add this filter on the bgp I’m connected to, I check the route and I still get This as-path comes along. Therefore, I would like to ask for advice from all knowledgeable people. Please advise me, for example, is my filter command wrong? Or is there another command to make it work correctly?