10-05-2017 11:19 AM - edited 03-08-2019 12:16 PM
hello all,
how to tell what ip address bgp neighbor is using for peering? is there such command to check for this?
thanks
10-05-2017 11:51 AM - edited 10-05-2017 12:01 PM
Hi
You can use:
show ip bgp summary
show ip bgp neighbor
show ip bgp; will show you the local router-id.
Hope it is useful
:-)
10-05-2017 12:13 PM
10-05-2017 12:24 PM - edited 10-06-2017 05:14 AM
Hi
Unfortunately there is no such command directly but it can be found through show ip bgp neighbor, you could execute a debug or use wireshark. Other way is to see the neighbor IP and see the matching with the local networks like point to point networks or if you are using loopbacks you can see the associated local IP displayed on the command: neighbor x.x.x.x update-source <interface>
10-06-2017 01:50 AM
Hello
Along with the otherssuggestions
Bgp will peer on the address specifed in the BGP routing stanza so you can take it from there or use pipeon the sh ip bgp neighbors commnad
sh ip bgp neighbors | in Local|Foreign
res
Paul
res
Paul
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide