Summary
The key components involved in the process are:
-
Routing Information Base (RIB): Classifies change notifications as critical or noncritical.
-
Batching interval: A configured minimum delay that governs next-hop walk scheduling.
-
Address families: IPv4 and IPv6 unicast contexts where batching is applied.
-
Next-hop walk scheduler: Executes deferred, batched walks based on classification and interval.
BGP next hop trigger delay improves stability by batching next-hop change notifications, reducing CPU load, and controlling how often next-hop walks run per address family.
Workflow
These stages describe how BGP next hop trigger delay works.
- Classification: The RIB labels each next-hop change notification as critical or noncritical.
- Interval application: The router applies the configured batching interval to defer next-hop walks for each address family.
- Batch formation: Deferred notifications accumulate into batches for efficient processing.
- Interleaved execution: Batched walks are interleaved across address families to prioritize work and avoid contention.
- Stabilization: Controlled, batched processing reduces churn, improves stability, and supports faster convergence.
Result
Next-hop change notifications are batched and interleaved across address families, lowering CPU utilization and enhancing routing stability and convergence.