Description | This article describes how to check AS path information sent by the firewall to the BGP neighbor in Wireshark. |
Scope | FortiGate. |
Solution |
FortiGate sends AS PATH to the BGP neighbor. Sometimes firewall does not represent the accurate AS PATH sent to its BGP neighbor in the advertised routes setting.
Router1 # get router info bgp nei x.x.x.x advertised-route
From the above output, it does look like it is sending the Public AS path 16899 to its neighbor. However, there is the possibility that the neighbor could receive the private AS PATH of the FortiGate which should not be sent over globally to BGP.
To check the exact AS PATH sent by FortiGate follow the below procedure.
di sniffer packet any “host x.x.x.x and port 179 “6 0 l
execute router clear bgp ip x.x.x.x soft (in/out)
Here FortiGate is sending 16899, 65001, and 16899 as an AS PATH to its neighbor.
After confirming the AS-PATH desired action can be taken depending on the network requirements. If Private AS-PATH needs to be removed, then refer to the following 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 2024 Fortinet, Inc. All Rights Reserved.