Why is BGP route not advertised?

There may be several reasons why a BGP route isn’t advertised to its eBGP neighbor in JUNOS. I was doing some tests and noticed that one of my routes 172.16.10.0 isn’t advertised to its neighbor.

Show route indicates that route is also learned via OSPF as well due to my crap topology at the moment:) and doesn’t choose it as BGP best route.

inactive-path option also clearly indicates a problem with the preference.

If a route isn’t advertised, it is good to check with the detail option!

You have a feedback?