Fortinet black logo

NGFW to SPA Hub Conversion Using Fabric Overlay Orchestrator

Verifying BGP routing on a spoke FortiGate

Verifying BGP routing on a spoke FortiGate

To verify BGP routing on a spoke FortiGate:
  1. Check the BGP peering status and the advertised routes using the following CLI commands. Replace x.x.x.x with the BGP neighbor IP address:

    get router info bgp summary get router info bgp neighbors x.x.x.x advertised-routes

    The following provides sample output for these commands:

    Branch1 # get router info bgp summary
    
    VRF 0 BGP router identifier 10.20.1.2, local AS number 65400
    BGP table version is 5
    1 BGP AS-PATH entries
    0 BGP community entries
    
    Neighbor     V         AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
    10.10.10.253 4      65400      41      37        4    0    0 00:23:39        8
    10.10.11.253 4      65400      38      34        4    0    0 00:23:33        8
    
    Total number of neighbors 2
    
    
    Branch1 # get router info bgp neighbors 10.10.10.253 advertised-routes
    VRF 0 BGP table version is 5, local router ID is 10.20.1.2
    Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
    Origin codes: i - IGP, e - EGP, ? - incomplete
    
       Network          Next Hop            Metric     LocPrf Weight RouteTag Path
    *>i10.1.1.0/24      10.10.10.1                    100  32768        0 i <0/->
    *>i10.20.1.2/32     10.10.10.1                    100  32768        0 i <0/->
    
    Total number of prefixes 2 
    
  2. On the GUI, verify routing by going to Dashboard > Networks. Click the Routing widget to expand it, then select BGP Neighbors from the dropdown list in the top right corner.

Verifying BGP routing on a spoke FortiGate

To verify BGP routing on a spoke FortiGate:
  1. Check the BGP peering status and the advertised routes using the following CLI commands. Replace x.x.x.x with the BGP neighbor IP address:

    get router info bgp summary get router info bgp neighbors x.x.x.x advertised-routes

    The following provides sample output for these commands:

    Branch1 # get router info bgp summary
    
    VRF 0 BGP router identifier 10.20.1.2, local AS number 65400
    BGP table version is 5
    1 BGP AS-PATH entries
    0 BGP community entries
    
    Neighbor     V         AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
    10.10.10.253 4      65400      41      37        4    0    0 00:23:39        8
    10.10.11.253 4      65400      38      34        4    0    0 00:23:33        8
    
    Total number of neighbors 2
    
    
    Branch1 # get router info bgp neighbors 10.10.10.253 advertised-routes
    VRF 0 BGP table version is 5, local router ID is 10.20.1.2
    Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
    Origin codes: i - IGP, e - EGP, ? - incomplete
    
       Network          Next Hop            Metric     LocPrf Weight RouteTag Path
    *>i10.1.1.0/24      10.10.10.1                    100  32768        0 i <0/->
    *>i10.20.1.2/32     10.10.10.1                    100  32768        0 i <0/->
    
    Total number of prefixes 2 
    
  2. On the GUI, verify routing by going to Dashboard > Networks. Click the Routing widget to expand it, then select BGP Neighbors from the dropdown list in the top right corner.