02-06-2017 08:19 AM - edited 03-05-2019 07:59 AM
Hi
can someone please throw some light on AS Prepend in BGP multi homing. I understand its for forcing traffic through Primary ISP but does the Prepend need to happen on ISP side or customer side routers ? will this work for incoming and outgoing traffic ?
Also what are the other ways to implement the same ?
does anyone has sample config for the above ?
Thanks
Solved! Go to Solution.
02-09-2017 08:07 AM
Hi
it is not required on both but for good practice it should be. It will deactivate the session once the peer is down.
Change the BGP timers is not recommended but if it is required you could do that.
02-06-2017 10:27 AM
AS prepending doesn't really "force", it attempts to influence inbound eBGP traffic by having traffic see a preferred path with a shorter AS number of hops than another path. I.e. what's normally done, your AS is prepended numerous times to the less preferred path's eBGP neighbor.
Outbound path selection is more often influenced (locally) by other BGP attributes (that have path selection priority over the number of AS hops).
AS prepending is usually done by the customer, as an ISP is more likely to use other BGP attributes to override AS path selection.
Understand, at the customer edge, you normally have full control deciding what your initial outbound next hop will be. It's attempting to influence and/or control input traffic path selection, that can be complex.
A couple other ways of managing inbound path selection, besides AS prepending, would be to share some route preference policy with your eBGP peers, often done using community strings. Another method to influence input path selection is by advertising different prefixes to your BGP neighbors. For example you might split a /23 into two /24s, but only one /24 is advertised to each BGP neighbor while the /23 might be also advertised to both.
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