Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

BGP stops advertising after upgrade

werner_verheyle
Altostratus
Altostratus

Hello , 

we have an LTM VE in  a HA cluster . We have defined a couple of route domain (RD) and have enabled BGP/BFD for these route domains .

There is a BGP routing configuration present (imish -r RD) . In this configuration peer devices are defined , and by putting RHI (route health injection) we advertise our virtual servers towards these bgp peers .

The current setup is running on version 13.1.1.5 and is working since long time without any issue.

AS v13 is going end of life we tried to upgrade recently to v14.1.5.2 . The upgrade itself went smooth . New version was activated , all pools and virtual servers were present as before. Initially all looked ok .

When we checked out BGP peer (show ip bgp summary) we could see that the peering was established , again this looked ok . But when checking the advertised routes , no routes were being advertised . 

"sh ip bgp neighbour x.x.x.x advertised-routes" --> showed no routes present , whereas before we had about 10 virtual servers being announced in v13

I'm aware of article https://cdn.f5.com/product/bugtracker/ID1031425.html concerning BGP advertising . But this is the case when you receive a route , and try to advertise it then from F5 (back to front advertising) .

In our case F5 is end device , and just announcing these virtual servers. So we are not receiving any BGP update and then sending these routes on .

IN the end we needed to rollback to v13 again , by booting from partition with old version . Once this was done all started working again including BGP .

Any idea what could be issue here ? (i've pasted our BGP config here below , it's quite basic)

we use a routemap for blocking incoming updates (DENY-ALL) and with routemap  "KERNEL2BGP" we control which virtual servers we can advertise . (each ip we want to announce it mentioned in this routemap)

router bgp F5-AS
bgp router-id F5-selfIP
bgp always-compare-med
bgp log-neighbor-changes
bgp graceful-restart restart-time 120
redistribute kernel route-map KERNEL2BGP
neighbor peer-IP remote-as "remote-as-nr"
neighbor peer-IP description "xxx"
neighbor peer-IP update-source selfip-address
neighbor peer-IP password "xxx"
neighbor peer-IP timers 3 9
neighbor peer-IP fall-over bfd
neighbor peer-IP next-hop-self
neighbor peer-IP soft-reconfiguration inbound
neighbor peer-IP route-map DENY-ALL in

 

1 ACCEPTED SOLUTION

Hi @werner_verheyle , 

First you should take this TMOS Version v14.1.5.2 and open F5 Bug tracker web site and see all of it's Bugs , maybe you will find bug related to BGP or BFDs or Advertising routes. 

Look at this : https://cdn.f5.com/product/bugtracker/ID1134057.html 
I got it from Bug tracker , it's a bug related to V14.1.5.2. 

> the other thing , you have to raise a case with F5 support , you may get hotfix to cover this issue. 

_______________________
Regards
Mohamed Kansoh

View solution in original post

6 REPLIES 6

Hi @werner_verheyle , 

First you should take this TMOS Version v14.1.5.2 and open F5 Bug tracker web site and see all of it's Bugs , maybe you will find bug related to BGP or BFDs or Advertising routes. 

Look at this : https://cdn.f5.com/product/bugtracker/ID1134057.html 
I got it from Bug tracker , it's a bug related to V14.1.5.2. 

> the other thing , you have to raise a case with F5 support , you may get hotfix to cover this issue. 

_______________________
Regards
Mohamed Kansoh

thx , i'll open a case for this .  

Just a remaining question , from bug report https://cdn.f5.com/product/bugtracker/ID1134057.html i can see this is also applicable on the version we use now ( v13.1.1.5 ) . So asking myself why we never encountered this before . Seems to be present in all version & only engineering hotfix will help

Hi @werner_verheyle , 
I see there are multiple bugs related to BGP and BFD Flapping. 

anyway , Beside opening Case with F5 to request Hotfix , 

Review this Article please : https://my.f5.com/manage/s/article/K15923612#proc1

navigate virtual address  settings to see if { Route advertisement } enabled or not , also have you checked it after upgrade or not ? 

I recommend that you can try to upgrade in VE as a test to V14.1.5.2 and see if the Route advertisement value in each Virtual address changed in Version 14 or everything still the same. 

_______________________
Regards
Mohamed Kansoh

will perform upgrade again on standby device in HA cluster , no spare LTM VE anymore at hand .

I've check RHI last night & indeed it was on selective after the upgrade . We changed it back to "when available" but this doesn't change anything . 

upgrading changes a lot for BGP 

we are using a similar configuration for long time, started on v13.1 and now on v14.1.4.4 (migration from v13 to v14 was a couple years ago, don't have notes on exact versions before/after, but didn't see any issues)... for what its worth, it does seem like v14.1 is working... we have multiple route domains and using both BGP and OSPF to do route health injection to advertise our virtual addresses out of each datacenter.  we also use a route map to control the redistribution of kernel into bgp/ospf.  our route map is based on cidr range using access list (not prefix list).

couple of thoughts/questions:

1. what are the details of your KERNEL2BGP route map (e.g. prefix list or ?)

2. have you tried Enabled or Always on the virtual address route advertisement (vs Selective or When Available)?

3. do the kernel routes show in the "sh ip route" output of imish?

two more thoughts:

4. what if you temporarily remove your BFD configuration (we do not have this)?

5. what if you temporarily remove your route-map and just generically redistribute kernel as a test?