BGP Process State Synchronization for Seamless Switchover
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Network devices experience downtime or failure events that disrupt the exchange of routing information and the network device's role as a peer, necessitating BGP switchover functionalities that minimize resource consumption and disruption.
Innovation Solution
Implementing a standby BGP process that synchronizes edge state information with an active BGP process, using synchronization channels and hairpinning techniques to ensure seamless switchover without noticeable disruption to peers, while minimizing processing resource expenditure.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a standby BGP process is implemented to ensure seamless switchover, then reliability is improved, but device complexity increases
Solution Approach 1:
A standby BGP process is maintained in advance with synchronized routing information before any failure occurs. This preliminary preparation ensures that when the active process fails, the standby can immediately take over without disruption to BGP peer connections, thus improving reliability while managing complexity through proactive preparation.
Solution Approach 2:
The standby BGP process creates a copy of the active process's routing information and state through synchronization mechanisms. This copying approach allows the standby to assume the active role seamlessly, improving reliability by having a ready backup while keeping the complexity manageable through standardized copying protocols rather than complex redundancy management.
2Reliability
If comprehensive state synchronization is performed between active and standby BGP processes, then reliability is improved, but use of energy increases
Solution Approach 1:
Instead of synchronizing all possible state information, the system selectively synchronizes only the critical edge state information that is necessary for BGP operation. This localized approach to synchronization maintains reliability by ensuring consistency of essential routing data while reducing energy consumption by avoiding unnecessary synchronization of non-critical parameters.
Solution Approach 2:
The system performs synchronization of only the essential edge state information rather than complete state replication. This partial action approach provides sufficient reliability for BGP operations while minimizing the energy expenditure associated with comprehensive state copying and synchronization.
3Device complexity
If edge state information is synchronized instead of internal state information, then device complexity is reduced, but loss of information may increase
Solution Approach 1:
The system extracts and synchronizes only the essential edge state information (routing tables, peer states, and configuration data) that is necessary for BGP operation, leaving internal implementation details unsynchronized. This extraction approach reduces device complexity by focusing synchronization on critical external state while maintaining sufficient information completeness for reliable BGP failover.
Data Source
AI summary
A networking system may facilitate Border Gateway Protocol (BGP) switchover between an active BGP process and a standby BGP process. A method is provided that includes using the active BGP process to establish a first communication session with a peer and a second communication session with the standby BGP process and using an active kernel associated with the active BGP process to receive a packet from the peer, to transmit the packet to the standby BGP process, and to receive the packet returning from the standby BGP process. The active kernel can optionally be used to determine whether any packets are in-flight to and from the standby BGP process.


