I have a router that gets a connected route via ppp which is pretty standard. The issue is its redistributing that route (as connected route so lower cost) to other peers - its just a router ID so it does not affect customer traffic but causes weird issues and traceroutes when we monitor by that IP.
The obvious solution is to try and block it redistributing that route in filters but for the life of me I can't get it to stop advertising it. This is the 2 filters im trying to use (one more specific than the other) but neither seem to be working to filter this route out:
Code: Select all
/routing filter
add action=discard chain=ospf-out-new prefix=1.2.3.4 protocol=connect
add action=discard chain=ospf-out-new prefix=1.2.3.4 prefix-length=32
Code: Select all
/routing ospf instance
set [ find default=yes ] out-filter=ospf-out-new redistribute-connected=as-type-1 redistribute-other-ospf=as-type-1 redistribute-static=as-type-1 router-id=xx.xx.xx.xx
Thanks.