cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7707
Views
0
Helpful
31
Replies

AS PrePend

Network Pro
Level 1
Level 1

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

31 Replies 31

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. 




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

Joseph W. Doherty
Hall of Fame
Hall of Fame

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.

Review Cisco Networking for a $25 gift card