BGP Anomaly Detection and Remediation at Scale

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Border Gateway Protocol (BGP) systems face anomalies and instability when scaled beyond a certain size, leading to issues like route flapping, topology convergence delays, and black-holes, which conventional systems are not equipped to detect or remediate, especially due to lack of on-box data collection and analysis capabilities.

Innovation Solution

A network element configured to maintain and track BGP peer and route states, detect anomalies through scale anomaly detection units, and perform remedial actions such as clustering, dampening, and back-pressuring to mitigate scale-related issues, enabling operation at large scales without conventional system limitations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Area of stationary object

If BGP systems are scaled beyond conventional size, then network coverage and connectivity are improved, but system stability and reliability deteriorate due to route flapping, topology convergence delays, and black-holes

Engineering Contradiction:
Improvenetwork coverageVSAvoidsystem stability
Core Design Contradiction:
Area of stationary objectVSReliability

Solution Approach 1:

The system performs preliminary anomaly detection by continuously monitoring BGP peer and route states before scale-related issues manifest. The scale anomaly detection unit identifies potential problems such as route flapping and topology convergence delays early, allowing remedial actions to be taken proactively to maintain system stability during scaling operations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements feedback mechanisms where detected anomalies trigger automated remedial actions. The scale anomaly detection unit provides feedback about system state to the remedial action processor, which then adjusts routing policies and peer configurations to counteract instability, creating a closed-loop control system that maintains reliability during scaling.

Inventive Principle:
Principle #23Feedback

2Quantity of substance

If BGP systems are scaled to larger sizes, then connectivity capacity is improved, but anomaly detection capability deteriorates because conventional systems lack on-box data collection and analysis

Engineering Contradiction:
Improvenumber of BGP peers and routesVSAvoidanomaly detection capability
Core Design Contradiction:
Quantity of substanceVSDifficulty of detecting and measuring

Solution Approach 1:

The BGP speaker is equipped with integrated scale anomaly detection capabilities that allow it to self-monitor its own operational state. The system collects data from its own BGP peers and routes, maintaining and tracking states locally without requiring external monitoring infrastructure, thereby enabling anomaly detection at scale through self-service mechanisms.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The BGP speaker performs multiple functions simultaneously: it acts as a routing protocol participant while also functioning as an anomaly detection system. The scale anomaly detection unit is integrated into the BGP speaker itself, combining routing operations with monitoring and analysis capabilities in a single multi-functional system.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Area of stationary object

If conventional BGP systems operate at large scale, then network reachability is improved, but processing load and performance deteriorate due to lack of remedial actions

Engineering Contradiction:
Improverouting reachabilityVSAvoidprocessing load
Core Design Contradiction:
Area of stationary objectVSPower

Solution Approach 1:

The system extracts and isolates problematic BGP peers and routes into clusters based on their operational characteristics. By grouping anomalous entities separately, the system can apply targeted remedial actions to specific clusters rather than processing entire peer groups uniformly, thereby reducing overall processing load while maintaining routing reachability.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system dynamically changes operational parameters such as BGP update timers, peer connection rates, and route advertisement frequencies based on detected anomaly patterns. These parameter adjustments reduce processing load during scale operations by throttling update rates and optimizing timing parameters to prevent overwhelming the system while preserving routing functionality.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11444828B2Identifying border gateway protocol (BGP) anomalies at scale
Publication Date: 2022.09.13 CIENA CORP
  • US11444828B2 patent drawing
  • US11444828B2 patent drawing
  • US11444828B2 patent drawing

AI summary

Systems and methods for enhancing the Border Gateway Protocol (BGP) are provided. In one implementation, a computer-readable medium comprises instructions that, when executed, cause a network element to perform the steps of maintaining and tracking states of multiple Border Gateway Protocol (BGP) peers and routes while operating BGP within one or more Autonomous Systems. The instructions further cause the network element to detect one or more anomalies, based on the maintaining and tracking, as a number of the multiple BGP peers and/or routes scale in the one or more Autonomous Systems. Also, the instructions cause the network element to cause the processing of one or more remedial actions based on the one or more detected anomalies.