I'm working in a complex BGP environment on Juniper MX480s. We have many peers in various routing instances advertising prefixes to us, and then we advertise a subset of those prefixes to a subset of the other peers. There are various import and export policies controlling our advertisements.
Is there an easy way to see all the peers to whom we are advertising a given network, say 198.51.100.0/24?
I know I can use
show route 198.51.100.0/24 advertising-protocol bgp [peer] for each individual peer, but I'd like to check them all in one go.