show ip bgp neighbors 18.104.22.168 advertised-routes
show route advertising-protocol bgp 22.214.171.124
show ip bgp neighbors 126.96.36.199 received-routes
show route receive-protocol bgp 188.8.131.52
You use these when you want to see what rules you're sending to/receiving from a BGP neighbour.
When I bring up a new BGP peer, I always use "show bgp neighbour 184.108.40.206"
(IOS: show ip bgp neighbour) to see how many routes I'm receiving from my new peer.
If I see a difference between Active and Received routes in the output, I use the above
commands to see what I'm receiving from the neighbour - so I can see why some of
the routes are NOT being preferred.
You miss from your cisco config, that if you want to see the received routes, then you have to configure the soft reconfiguration inboud. Im not sure if you need this in junos. I will check later.
© 1999 - 2019 Juniper Networks, Inc.
All rights reserved