Description |
This article describes how to make the BGP received route and redistribution static route show on the routing table at the same time. |
Scope |
FortiGate. |
Solution |
Consider the following network setup:
Network 10.20.30.40/32 is the received-routes from bgp neighbors. This network is also the redistribute static route and is advertised to the BGP neighbor.
BGP will consider the redistributed static route preferred to the received routes, so it will not install the learned route into the routing-table.
Hub FortiGate BGP output:
get router info bgp neighbors 10.47.2.97 advertised-routes
On the hub, run config the route-map-in and provide a higher weight than 32768.
edit "receivedrouteweight" config rule edit 1 set set-weight 40000 next end next end
config neighbor edit "10.47.2.97" set soft-reconfiguration enable set remote-as 9225 set route-map-in "receivedrouteweight" next next end
Restart the bgp:
execute router clear bgp all
Output on routing-table:
get router info routing-table all |
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.