cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
361
Views
0
Helpful
3
Replies

Not getting BGP Updates

wdiggs
Level 1
Level 1

My problem is two fold; the first is that on my primary & secondary (internet) routers I'm running HSRP t. We track the FE interface but on the primary router the FE is connected to a passive switch and then our vendor takes the link to Sprint. When the connection between our vendor and Sprint is loss we loss the BGP protocol but the connection between our router and the passive switch stays up/up. Consequently my internal traffic does not know where to go, which brings me to part-2.

On the primary router I'm not getting the iBGP updates from the secondary router. If I clear the BGP neighbor connection between the two routers I get the updates for about 30+ second but they then disappear. When both ISP circuits are up and normal, the secondary router received the BGP updates from the primary router but the primary only get the updates for 20secs.

My questions are (1) is there a way for me to track the loss of the BGP neighbor connection and (2) what am I doing wrong in my config that is not allowing my primary router to keep the BGP updates from the secondary router. See sample configs.

3 Replies 3

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello William,

1) you can try icmp reachability of eBGP next-hop using object tracking and then HSRP will use the tracked object

see for example

http://www.cisco.com/en/US/docs/switches/lan/catalyst3750e_3560e/software/release/12.2_37_se/configuration/guide/swhsrp.html#wp1078020

2) I don't see any error in your BGP config each router should use its eBGP paths.

Check in your secondary router if it keeps the eBGP routes.

You could enforce the secondary on keeping the eBGP paths by using

neigh yyy weight 400000

where yyy is the uunet eBGP neighbor but this should happen by default. (eBGP preferred over iBGP paths)

Hope to help

Giuseppe

tcordier
Level 1
Level 1

As to 2): how are your two routers interconnected and how is the interconnection routed? Are they directly connected? I wonder whether we have an issue with a recursive BGP peer route. You use the 192.168.250.0 network for the iBGP connection, and you also advertize the 192.168.250.0 network via BGP. The route to a BGP peer can not be learned via BGP; if this is the case, the BGP peering will be torn down. You could - to test this - remove the 192.168.250.0 network statement from BGP, as you should provide the routing for the iBGP peering via an IGP (static/connected/IGP) anyway.

HTH, Thomas

Thanks for your input. The routers are directly connected via x-cover cable and i have the same issue with or without the network statment. also I hav no IGP running between the two routers. I have not problem seeing the routes from the primary on the the secondary, the problem on the reverse.

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco