Difference between revisions of "Manual:Routing/BFD"

From MikroTik Wiki
Jump to navigation Jump to search
(Initial placeholder)
(No difference)

Revision as of 09:40, 22 December 2009

BFD protocol for routing


Starting from RouterOS version v4.4, BFD is supported.


BFD is a protocol intended to detect faults in the bidirectional path between two forwarding engines, including physical interfaces, sub-interfaces, data link(s), and to the extent possible the forwarding engines themselves, with potentially very low latency. It operates independently of media, data protocols, and routing protocols.

Bidirectional Forwarding Detection (BFD):

  • hello protocol for checking bidirectional neighbor reachability;
  • provides sub-second link failure detection support;
  • not routing protocol specific, unlike protocol hello timers or such

Features supported:

  • asynchronous mode (draft-ietf-bfd-base-09.txt)
  • BFD timer and detection multiplier configuration per interface;
  • enabling BFD for OSPF interfaces
  • enabling BFD for BGP peers
  • single hop IPv4 and IPv6 transport (draft-ietf-bfd-v4v6-1hop-10.txt)
  • multihop IPv4 and IPv6 transport (draft-ietf-bfd-multihop-08.txt)


BFD configuration should be added in different places as required


/routing ospf interface add interface=all use-bfd=yes


/routing bgp peer add remote-address=x.x.x.x remote-as=xxxxx use-bfd=yes

BFD timer configuration

/routing bfd interface

BFD neighbor status

/routing bfd neighbor