cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
708
Views
0
Helpful
6
Replies

ebgp configuration

k.hariharan1
Level 1
Level 1

hi,

i would like to know what will be the impact if i give the command

"neighbor 3.3.3.3 ebgp-multihop 255 " to the directly connected neighbor b/w two AS (ebgp)

Regards,

Hariharan k

6 Replies 6

Jerry Ye
Cisco Employee
Cisco Employee

Hi Hariharan,

If the BGP peers are directly connected, there is no reason to use the ebgp-multihop. Using this command might cause black hole of the bgp traffic if the IGP is not implementing correctly.

HTH,

jerry

This number simple represents how many hop counts is the router away. We would require to use ebgp-multihop keyword with neighbor statement so that neighbors which are not directly connected can form relationship with each other. if directly connected, no need to use it. If you are using a loopback interfaces to form neighbor relationshipsbetween diectly connected routers, then you need to use hop of 1.

Jerry

I am not understanding how the IGP might cause a black hole if it is not implemented correctly. Perhaps you can clarify this risk?

Hariharan k

If you configure ebgp multihop for an external neighbor that is directly connected then it will have these effects: 1) if the neighbor peer address is not the physical interface address (perhaps the neighbor address is its loopback) then you will be able to send packets with hop count greater than the default of 1 and successfully peer with the neighbor; 2) if the link to the directly connected neighbor goes down and if you have a path to that neighbor through some other interface (and if you have a route to the neighbor address through the other interface) then you will be able to maintain the BGP neighbor relationship.

Note that for a directly connected neighbor specifying a hop count of 255 might seem a bit high. Generally you might want to specify a reasonable number of hops for a realistic alternate path to the neighbor and it is hard to imagine a realistic alternate path to a directly connected neighbor that would take 255 hops.

HTH

Rick

HTH

Rick

Hi Rick,

Maybe I should clarify this, the situation I am describing has to do these two BGP peering routers has the same IGP domain also. Let's assume two routers are connected via the same ethernet, one side of the switch port went down, the otherside will stay up. If they are in the same IGP domain and a different eBGP domain (with the same IGP domain) in the middle. Instead a hard down, traffic will be black holed.

This is a weird scenario but it would happen, and depend on the design.

Regards,

jerry

Jerry

Thanks for the clarification. I am not sure how they would be directly connected and be in a common IGP domain, and be EBGP neighbors. But perhaps it could happen.

HTH

Rick

HTH

Rick

hi guys,

thanks for ur replies , and my doubt got cleared..

as rick said the update-source for this link which we had given is the physical interface fa1/0

not the loop back so i think there is no impact on this command.

Regards,

Hariharan k

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: