cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2346
Views
5
Helpful
4
Replies

how to tell what ip address bgp neighbor is using for peering

spencerlin1991
Level 1
Level 1

hello all,

 

how to tell what ip address bgp neighbor is using for peering? is there such command to check for this? 

 

thanks 

4 Replies 4

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

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

thank you for the reply.
i mean without getting into remote router, how do i know what IP address "neighbor x.x.x.x" remote router is using for BGP peering session?

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>




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

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


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking for a $25 gift card