This section describes the application scenario of interworking between BFD and BGP.
BGP enables the device to periodically send packets to the neighboring devices for fault detection, but detecting a fault takes more than 1s. When traffic is transmitted at Gbit/s rates, long-time fault detection will cause data loss, failing to meet the high reliability requirements of carrier-class networks.
Therefore, BFD interworking with BGP is introduced to quickly identify link faults between BGP peers (faults can be detected within milliseconds) and report the faults to BGP, implementing fast BGP route convergence.
As shown in Figure 1, Router_A and Router_B respectively belong to AS100 and AS200 and establish EBGP connections in between.
BFD is configured to detect the BGP neighboring relationship between Router_A and Router_B. When the link between Router_A and Router_B fails, BFD can rapidly detect the fault and report it to the BGP protocol.