Chapter 2 Advanced Routing for FortiOS 5.0 : Dynamic Routing Overview : Dynamic routing terminology : Bi-directional forwarding detection (BFD)
  
Bi-directional forwarding detection (BFD)
Bi-directional Forwarding Detection (BFD) is a protocol used to quickly locate hardware failures in the network. Routers running BFD send packets to each other at a negotiated rate. If packets from a BFD-protected router fail to arrive, then that router is declared down. BFD communicates this information to the routing protocol and the routing information is updated.
BFD neighbors establish if BFD is enabled in OSPF or BFP routers that establish as neighbors.
The CLI commands associated with BFD include:
config router bgp
config neighbor
set bfd
 
config router ospf
set bfd
 
Per-VDOM configuration:
config system settings
set bfd
set bfd-desired-min-tx
set bfd-required-min-rx
set bfd-detect-mult
set bfd-dont-enforce-src-port
Per-interface (override) configuration:
config system interface
edit <interface_name>
set bfd enable
set bfd-desired-min-tx
set bfd-detect-mult
set bfd-required-min-rx
For more information about BFD in BGP, see “Bi-directional forwarding detection (BFD)”.