Forgive me if this is a dumb question but I'm relatively new to the carrier networking world. We own a block of IP addresses, say a /18 and we advertise various /20s, /24s, /23s, etc all over the world. I want to know "what's available" from our space as in if there are portions that we are not advertising.
What I could do is download a text dump of the entire BGP routing table and grep for the /18, /19s, /20s, ... , /24s and see if there are any matches but there has to be a better way.
We use Juniper so I popped into a router and ran show route protocol bgp FIRST_IP_OF_18 but it only gave me a route to the first thing we advertise.