Explains how BGP waits for RIB and FIB installation feedback before advertising routes, helping prevent premature updates and traffic loss.
The BGP-RIB feedback mechanism for update generation is a synchronization mechanism that
-
prevents premature route advertisements
-
ensures that routes are installed locally before BGP advertises them to neighbors, and
-
reduces packet loss that can occur when traffic is attracted before the data plane is programmed.
How the mechanism works
BGP waits for feedback from RIB to confirm that routes installed by BGP in RIB are also installed in the Forwarding Information Base (FIB) before BGP sends updates to neighbors.
RIB uses the Bulk Content Downloader (BCDL) feedback mechanism to determine which route versions FIB has consumed. RIB then updates BGP with that version information.
BGP sends updates only for routes whose versions are at or below the version that FIB has installed.
Why the mechanism is used
This selective update behavior prevents BGP from sending premature updates that can attract traffic before the data plane is programmed.
This protection is especially useful after a router reload, a line card online insertion and removal (OIR) event, or a link flap that makes an alternate path available.