cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
798
Views
1
Helpful
4
Replies

shutdown BGP neighbor

Aoi
Level 1
Level 1

Hi
I have a very simple network topology with BGP configured on three routers.
What i am trying to do and need help is how i can shutdown BGP neighbors when a specific route is unreachable.

Basically I am trying to ping R1 from R2 and if it fails, R3 will be removed from the BGP peer.
IP SLA was an idea but not sure how to accomplish this.

R1-----R2-----R3

Thanks

4 Replies 4

Hi @Aoi 

 shutdown a neighbor because one route is unreachable  seems to be too much.  If you have alternative path for that route what you can do is create a static route with higher Administrative distance and change the AD using the IPSLA as trigger.

R1-ebgp-R2-ebgp-R3 <<- this your network ?

Aoi
Level 1
Level 1

@MHM Cisco World 
Thank you. Yes that is how it's set up.

ebgp have direct link check, what that meaning, when the link between R1 and R3 is down R3 automatic will remove since it eBGP
NOW there is some limitation in this check which is if there is SW between R1 and R3 then the link not down but the reachable loss.
solve this there is 
1- track IP SLA with EEM 
even track status down EEM cli no neighbor R3
2-using multihop BFD or single hop BFD 

Review Cisco Networking for a $25 gift card