BGP Router Graceful Restart Using Local Prefix Store

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The conventional graceful restart approach for BGP routers in computer networks is slow due to the need to recompute routes and consume significant system resources, leading to temporary loss of routing information and increased latency in network convergence.

Innovation Solution

A local store on the restarting router is used to store redundant copies of prefixes with selection preferences, allowing immediate computation of best paths and transmission of the end-of-RIB message, thereby speeding up the restart process without awaiting route information from peers.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the conventional graceful restart approach is used, then the BGP router can recover from a shutdown, but the convergence time is long and system resources are significantly consumed

Engineering Contradiction:
ImproveBGP router recovery capabilityVSAvoidconvergence time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-computing and storing candidate best paths in a data structure before the BGP router shuts down. When the router restarts, these pre-computed paths are immediately available for installation, eliminating the need to recompute routes during restart. This resolves the contradiction by enabling fast recovery (improving reliability) without requiring time-consuming route recomputation (reducing convergence time).

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent applies local quality by maintaining a localized data structure containing candidate best paths specific to each adjacency. Instead of globally recomputing all routes, only the locally stored candidate paths for affected adjacencies are installed. This selective local approach reduces system resource consumption while achieving fast convergence, resolving the contradiction between reliability and time loss.

Inventive Principle:
Principle #3Local quality

2Reliability

If the conventional graceful restart approach is used, then the BGP router can recover from a shutdown, but system resources are significantly consumed for route recomputation

Engineering Contradiction:
ImproveBGP router recovery capabilityVSAvoidsystem resources for route recomputation
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent applies preliminary action by pre-computing candidate best paths before shutdown and storing them in a data structure. During restart, the router simply installs these pre-computed paths rather than recomputing them, dramatically reducing CPU and memory resources required during the recovery process. This resolves the contradiction by maintaining reliable recovery capability while minimizing system resource consumption.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent applies copying by creating and storing copy representations of candidate best paths in a data structure before shutdown. These copied path representations can be quickly reinstated during restart without requiring full route recomputation. This copying approach reduces system resource usage during recovery while maintaining reliable BGP router recovery capability.

Inventive Principle:
Principle #26Copying

3Measurement precision

If the restarting router awaits receipt of route information from peers, then route accuracy is ensured, but the restart process is slow

Engineering Contradiction:
Improveroute information accuracyVSAvoidrestart process duration
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-computing candidate best paths and storing them before the BGP router shuts down. Upon restart, the router immediately installs these pre-computed paths without waiting for route information from peers, significantly reducing restart duration. The pre-computed paths ensure route accuracy is maintained while eliminating the time delay of awaiting peer updates.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent applies beforehand cushioning by preparing and storing candidate best paths in advance before shutdown occurs. This pre-prepared cushion of route information allows the router to immediately resume forwarding traffic upon restart without waiting for peer updates, thus reducing restart time while maintaining route information accuracy through the pre-validated candidate paths.

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

Data Source

PatentUS7710899B1System and method for speeding border gateway protocol graceful restart
Publication Date: 2010.05.04 CISCO TECHNOLOGY INC
  • US7710899B1 patent drawing
  • US7710899B1 patent drawing
  • US7710899B1 patent drawing

AI summary

A technique is provided for graceful restart of a Border Gateway Protocol (BGP) router that uses a local store on the restarting router that stores prefixes on all routes or the “group best path” information on all BGP peers having a common Autonomous System (AS) number. This local store is used to run best path computations on the restarting router, rather than first awaiting receipt of route information from peers to speed the restart process. Updates are then transmitted to peers using the best path data and an end-of-Routing Information Base (RIB) message it transmitted by the restarting router to indicate that all information has now been sent by the restarting router. Thereafter the restarting router processes incoming updates from peers as received (or these peers routes are timed-out), remaining stale paths are deleted and any changed best paths, based upon the newly received updates, are then transmitted to peers.