Manual:Routing/BFD

From MikroTik Wiki
< Manual:Routing
Revision as of 09:40, 22 December 2009 by Janisk (talk | contribs) (Initial placeholder)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

BFD protocol for routing

Requirements

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

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

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