Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

next-hop-self at BGP

what is the use of

neighbor 172.16.102.32 next-hop-self

What next hop self will do.

4 REPLIES
New Member

Re: next-hop-self at BGP

Medan,

Link is usefull thanks.

Re: next-hop-self at BGP

Hi,

In BGP, when you have an EBGP connection, the the next hop attribute for the learned routes is by default the interface ip address of the EBGP neighbor in the neighboring AS.

With the next-hop-self option, you can overwrite this default behavior on the BGP router in this AS.

If the BGP router within this AS advertises routes to the IBGP neighbors, then it will set the next hop attribute to its own inteface ip address.

This way the internal BGP routers will have routes in their routing tables with the next hop pointing to the edge BGP router within their AS, where they got the update from.

For IGP routing protocols, like EIGRP and OSPF, it is not necessary to learn the ip routes to the EBGP connection (that is to the EBGP neighbor), and routes from the internal AS will not be advertised to the neighbor AS (ISP for example).

I hope I wasn't too complicated :)

Cheers:

Istvan

New Member

Re: next-hop-self at BGP

Thanks Istvan

347
Views
9
Helpful
4
Replies