Description | This article explains the issue that occurs when a route-map-in is applied to the BGP neighbor, resulting in a bgpd crash. |
Scope | FortiGate v7.2.8, v7.2.9, v7.2.10, v7.4.5, v7.4.6, v7.4.7, v7.6.1 and v7.6.2. |
Solution |
BGPD crashes are observed when FortiGate receives a large number of routes from its EBGP neighbours (ISPs, etc) The issue is only observed if the 'route-map-in' filters are applied in the BGP neighbour config. 'Route-map-out' configuration does not generate this crash
To identify the issue, check the crashlogs and look for the following output
diagnose debug crashlog read
7805: 2025-01-22 09:39:14 <08069> fortidev 6.0.2.0008
The output above is only a portion of the BGPD crash extracted from the crash logs. To confirm if it matches the issue, collect the complete BGPD crash log output and submit it to a support ticket.
Additionally, collect the below output:
get router info bgp summary get router info bgp neighbor diagnose ip router command show-vrf root show run router bgp
This is a known issue and reported under the engineering issue ID 1119119. A fix for this issue has already been released in v7.2.11, v7.4.8, and v7.6.3
To fix 1119119: The inadvertent behavior observed in BGPD due to erroneous memory freeing when applying route-maps. This can be verified from the FortiOS firmware release notes:
'local-as-no-prepend' may be tried as a workaround under the BGP neighbor config.
config router bgp config neighbor edit <neighbor ip> set local-as-no-prepend enable next end end
Another possible workaround is to enable prefix-list-in instead of the route-map-in: Prefix lists
Related article: |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.