Created on
11-24-2025
01:02 AM
Edited on
11-26-2025
10:28 PM
By
Jean-Philippe_P
| Description | This article describes how to troubleshoot when the BGP attribute is not getting applied after a configuration change. |
| Scope | FortiGate. |
| Solution |
BGP Scenario: FGT-01 --- 2 links (port2 and port3) --- FGT-02.
FGT-02 is advertising 2 subnets (1.1.1.1/32 and 2.2.2.2/32). FGT-01 is configured to choose 1 link for each of the subnets.
Default configuration :
config router bgp
get router info routing-table bgp Routing table for VRF=0
The scenario is to make prefix 1.1.1.1/32 choose port2:
config router prefix-list
config router route-map
config router bgp
After the change, the routing table is still the same; the BGP attribute (local preference) was not getting enforced.
get router info routing-table bgp
For the routing table to be updated, flushing the BGP neighborship is needed.
execute router clear bgp ip all --> This command will clear all the BGP peers.
Or:
execute router clear bgp ip all soft --> If the soft-reconfiguration option is enabled on the neighbor.
The local preference and routing table are updated after the BGP neighborship reset.
Notes:
|
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.