Re: [OSL | CCIE_RS] BGP design question

From: Scott Morris <smorris_at_ine.com>
Date: Sun, 28 Mar 2010 09:10:15 -0400

 The easiest way to do that is to peer to a loopback, and have two static
routes in your table pointing to that loopback.

One with lower AD, one with higher AD.

When one disappears, the other automatically works. Then, when the
primary circuit comes back, it automatically switches back. Best thing
that way (if it's same box going to) that your BGP session doesn't go
away at all.

If you want manual re-enablement (kinda strange, but ok) then you could
always have an EEM script that detects link down message and adds a
"neighbor x.x.x.x shutdown" command for the one peer, yet your second
peer is fine (or un-shut would be good too). Script switches one way
automatically, but to go back requires manual intervention.

HTH,

Scott Morris, CCIEx4 (R&S/ISP-Dial/Security/Service Provider) #4713,

CCDE #2009::D, JNCIE-M #153, JNCIS-ER, CISSP, et al.

JNCI-M, JNCI-ER

evil_at_ine.com

Internetwork Expert, Inc.

http://www.InternetworkExpert.com

Toll Free: 877-224-8987

Outside US: 775-826-4344

Knowledge is power.

Power corrupts.

Study hard and be Eeeeviiiil......

Matt Hill wrote:

  Why do you want to re enable it manually? Is there something specific
  you are trying to achieve?
  
  I cant think of any way offhand but you might be able to play with
  dampening or something like that. Although I cant really see that
  working either :)
  
  Cheers,
  Matt
  
  CCIE #22386
  CCSI #31207
  
  On 28 March 2010 17:54, Patrice Ngassam <pangassam_at_hotmail.com> wrote:

    Hi,
    I have a customer that is dual homed to the same partner using BGP. One link
    is primary and the second is backup. We are looking for scenario where the
    bgp peer on the primary link will be shutdown automatically in case of
    failure of the primary circuit. Traffic will failover to the backup circuit
    and would never switch automatically the primary even if the circuit comes
    back unless we manually re-enable the bgp peer on the primary circuit. Is
    that do-able? Does anyone have a better alternative?
    
    Patrice Ngassam
    Ceritified Cisco CCNP, CCDP, CCIP

    ________________________________
    Hotmail dibarque sur votre tiliphone ! Paramitrez Hotmail sur votre
    tiliphone! Gratuit !
    _______________________________________________
    For more information regarding industry leading CCIE Lab training, please
    visit www.ipexpert.com

  Blogs and organic groups at http://www.ccie.net
  _______________________________________________________________________
  Subscription information may be found at: http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Sun Mar 28 2010 - 09:10:15 ART

This archive was generated by hypermail 2.2.0 : Thu Apr 01 2010 - 07:26:36 ART