Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
New Member

BGP - Show next hop address

All - We have a very large MPLS network that another team manages, We just setup bgp peering at one of our sites and they are advertising all the prefixes they have.

Is there a way to do a show command that tells me what the next hop address is on the far end side? For example I want to do a sh command on the nexus to show me that is routed towards

If I run the command sh bgp vrf mpls ipv4 unicast on the nexus it gives me the next hop of the HQ Router.





Cisco Employee

 It looks very strange


It looks very strange requirement to me :) . BGP route carries net-hop information but only for immediate next-hop, not for all the next-hop which got changed in the path. Second thing if both routers are under same autonomous system, you can login to next router and check, if far end router is under different AS, next-hop on that router could be a private ip and can not be passed over BGP updates.


With traceroute to destination, you can check what all hops coming in the path.


--Pls rate helpful posts--





New Member

Yeah I know it's a strange

Yeah I know it's a strange requirement however we don't have access to the routers to look.


A traceroute works but there are allot of sites we don't know all the networks routed towards the firewall...That's what this exercise is really about. We need to know all the networks that are being advertised out of each site.







Cisco Employee

 To know which routes belong


To know which routes belong to which site, we normally use community attribute. You can decide community for each site and while advertising BGP prefixes from the site, add that community. On the other site based on community , you can come to know which prefixes belong to which site.




CreatePlease to create content