Manual:Routing/BFD

From MikroTik Wiki
Revision as of 11:50, 22 December 2009 by Janisk (talk | contribs)
Jump to navigation Jump to search

BFD protocol for routing

Summary

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

Requirements

RouterOS 4.4 or newer with routing package installed.

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)

Configuration

BFD configuration should be added in different places as required

OSPF

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

BGP

/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