← Interview Prep

BFD, HA & Fast Convergence

Sub-second convergence: the detect/propagate/compute/FIB budget, BFD (async/echo/micro-BFD), LFA/rLFA/TI-LFA, BGP PIC and next-hop tracking, graceful restart vs NSF/SSO, MPLS FRR, and ISSU.

When a link or node fails, how fast does traffic reroute? "Convergence" is a budget you can decompose — and every fast-convergence feature attacks one term of it. BFD shrinks detection; LFA/PIC/FRR shrink repair; graceful restart removes control-plane restarts from the equation entirely.

The convergence budget

Total = detect + propagate + compute + update FIB. Sub-second convergence means attacking each term: fast detection (BFD), fast flooding and SPF (throttling/iSPF), and — the big one — a precomputed backup so repair is a local FIB switch, not a network-wide recompute.

Default protocol hello/hold timers (OSPF 40s dead, BGP 180s hold) are far too slow. You either tune timers (costly in CPU/stability) or offload detection to BFD.

BFD — Bidirectional Forwarding Detection

A tiny, protocol-independent hello that runs in the forwarding path to detect a path failure in milliseconds, then tells its client protocols (OSPF/IS-IS/BGP/static/PIM) to tear the neighbor down immediately — far faster than their own timers.

BFD offloads liveness so you keep the routing protocol's timers relaxed (low CPU) yet still fail over fast. Related: BGP, OSPF.

IGP fast convergence

BGP convergence

MPLS fast reroute

MPLS FRR pre-signals a backup LSP so a Point of Local Repair switches in <50 ms: link protection (backup around a link) and node protection (around a whole router), with facility backup sharing one bypass for many LSPs. In SR, TI-LFA gives the same local-repair guarantee without RSVP. See RSVP-TE.

Hardware HA: NSF/SSO, ISSU

TermMeaning
SSOStateful Switchover — a standby route processor takes over with synced state.
NSFNonstop Forwarding — keep forwarding from the existing FIB across the RP switchover (the data-plane counterpart to graceful restart).
ISSUIn-Service Software Upgrade — upgrade code without dropping the data plane.

NSF vs Graceful Restart: NSF is the local ability to keep forwarding during an RP/control-plane restart; GR is the protocol signalling that asks neighbors to help and hold routes while it happens. They work together.

Likely interview questions

Related: Segment Routing (TI-LFA) · RSVP-TE (FRR) · BGP Theory.