Fortigate_A.
# config sys settings
set bfd-desired-min-tx 1000
set bfd-required-min-rx 50000
set bfd-detect-mult 2
Fortigate_B.
# config sys settingsBoth bfd-desired-min-tx values satisfies bfd-required-min-rx of 50000ms.
set bfd-desired-min-tx 10000
set bfd-required-min-rx 50000
set bfd-detect-mult 2
# diagnose ip router bfd all enAs of FortiOS 6.0, debugging is enabled by running the commands:
# diagnose ip router bfd level info
# diagnose debug enable
# diagnose debug app bfdd -1Example of debug output:
# diagnose debug enable
2018-01-30 11:14:19 id=20301 logdesc="Routing log" msg="NSM: Session[10.151.1.44:10.151.1.75,port2,28]: Sending BFD packet"Sample of FGT router log:
2018-01-30 11:14:38 id=20301 logdesc="Routing log" msg="NSM: Session[10.151.1.44:10.151.1.75,port2,28]: Inactivity timer expired"
2018-01-30 11:14:38 id=20301 logdesc="Routing log" msg="NSM: Session[10.151.1.44:10.151.1.75,port2,28]: state UP -> DOWN local_diag=0x01"
2018-01-30 11:14:38 id=20301 logdesc="Routing log" msg="NSM: BFD session[10.151.1.44:10.151.1.75,port2,28]: state UP -> DOWN local_diag=0x01"
2018-01-30 11:14:38 id=20301 logdesc="Routing log" msg="NSM: Session[10.151.1.44:10.151.1.75,port2,28]: bfd_session_send_packet_now"
2018-01-30 11:14:38 id=20301 logdesc="Routing log" msg="NSM: BFD: Sending notification to protocol-id 4 client-type 8"
2018-01-30 11:14:38 id=20301 logdesc="Routing log" msg="NSM: BFD register message"
2018-01-30 11:14:38 id=20301 logdesc="Routing log" msg="NSM: Source Address: 10.151.1.44"
2018-01-30 11:14:38 id=20301 logdesc="Routing log" msg="NSM: Destination Address: 10.151.1.75"
2018-01-30 11:14:38 id=20301 logdesc="Routing log" msg="NSM: Interface index: 4"
2018-01-30 11:14:38 id=20301 logdesc="Routing log" msg="NSM: Flags: Delete"
2018-01-30 11:14:38 id=20301 logdesc="Routing log" msg="NSM: Client: OSPF"
# diagnose sniffer packet any "udp port 3784" 6 0 aSample BFD packets seen with packet decoder:
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 2023 Fortinet, Inc. All Rights Reserved.