Community discussions

MikroTik App
 
amee
just joined
Topic Author
Posts: 16
Joined: Mon Apr 17, 2006 3:44 pm

Block incoming prefix with as path

Wed Mar 02, 2022 4:52 am

We have 2 ISP, we want to block some prefixes from specific ASN from second ISP. We try to set BGP Prepend 10, but the prefixes still incoming from our second ISP, because of BGP local pref.
How to to block these prefixes coming from our second ISP? Lets say these prefixes from ASN=15236, we try with this script, but stil fail:
/routing filter add chain=second-ISP-out bgp-as-path=15236 action=discard

Who is online

Users browsing this forum: No registered users and 13 guests