SBFD Path Optimization for Segment Routing Consistency
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Seamless Bidirectional Forwarding Detection (SBFD) sessions in Segment Routing (SR) scenarios often report erroneous states due to inconsistencies between the paths used for packet forwarding and return paths, leading to incorrect reporting of network connectivity.
Innovation Solution
The method involves acquiring SBFD information, determining configuration routing information that includes path identifiers and first path information pre-configured in a reflector node, and sending packets carrying this information to ensure that the outgoing and return paths pass through the same nodes, thereby avoiding erroneous reporting of SBFD states.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the reflector node loops back the packet according to its status, then the SBFD detection function is achieved, but the path inconsistency between forward and return packets causes erroneous DOWN state reporting
Solution Approach 1:
The controller pre-configures the reflector node with the first path information (forward path) before the SBFD detection begins. This preliminary configuration ensures that when the reflector node receives the SBFD packet, it already knows the expected forward path, allowing it to construct the return path correctly and maintain path consistency throughout the detection process.
Solution Approach 2:
The system implements a feedback mechanism where the controller receives the SBFD packet after it has traversed both the forward and return paths, then sends control instructions back to the reflector node. This feedback loop allows the controller to verify path consistency and correct any discrepancies, ensuring accurate SBFD detection results.
2Measurement precision
If the controller sends SBFD packets through configured paths, then path detection is performed, but path inconsistency leads to false connectivity status reporting
Solution Approach 1:
The controller acts as an intermediary that manages the complexity of path configuration between the initiator node and reflector node. It receives path information from the initiator node, processes this information to determine the correct forward and return paths, and sends control instructions to the reflector node. This intermediary role simplifies the overall path management complexity while ensuring measurement precision.
Solution Approach 2:
The system dynamically adjusts path parameters based on the detected network conditions and configuration information. The controller modifies the return path parameters to match the forward path parameters, ensuring consistency in the SBFD detection process. This parameter adjustment capability allows the system to maintain measurement precision without requiring overly complex static path configurations.
Data Source
AI summary
A Seamless Bidirectional Forwarding Detection (SBFD) path optimization method, a controller, a node, and a storage medium. The method may include: acquiring SBFD information which represents performing SBFD on a first path (S100); determining configuration routing information according to the SBFD information, where the configuration routing information may include a path identifier and first path information, the path identifier corresponds to second path information pre-configured in a reflector node on the first path, and nodes through which a second path corresponding to the second path information passes are the same as nodes through which the first path passes (S200); and sending a packet carrying the configuration routing information to an initiator node on the first path, such that the packet is sent from the initiator node to the reflector node along the first path and sent from the reflector node to the initiator node along the second path (S300).


