azure-bgp

Detect BGP oscillation and route leaks in Azure hub-and-spoke topologies.

4|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/GeneralReasoning/env-skillsbench --skill azure-bgp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-bgp
Source: https://github.com/GeneralReasoning/env-skillsbench/tree/main/azure-bgp-oscillation-route-leak/environment/skills/azure-bgp
Command: npx skills add https://github.com/GeneralReasoning/env-skillsbench --skill azure-bgp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyze and resolve BGP oscillation and BGP route leaks in Azure Virtual WAN–style hub-and-spoke topologies (and similar cloud-managed BGP environments).

This skill trains an agent to:

  • Detect preference cycles that cause BGP oscillation
  • Identify valley-free violations that constitute route leaks
  • Propose allowed, policy-level mitigations (routing intent, export policy, communities, UDR, ingress filtering)
  • Reject prohibited fixes (disabling BGP, shutting down peering, removing connectivity) The focus is cloud-correct reasoning, not on-prem router manipulation.

Core Features & Use Cases

  • Detect and diagnose BGP oscillation and route leaks in Azure hub-and-spoke environments
  • Recommend policy-based mitigations (routing intents, export controls, communities, UDR) over topology changes
  • Validate inputs and enforce valley-free routing with safety constraints in cloud-managed BGP

Quick Start

Provide a topology and related data, then run the azure-bgp skill to identify oscillations and leaks and propose mitigations.

Frequently Asked Questions about azure-bgp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect BGP route oscillation in an Azure hub-and-spoke topology?

To detect BGP oscillation in Azure hub-and-spoke topologies, analyze the provided topology and routing preferences to identify preference cycles that cause routes to continuously flap between available paths.

What causes BGP route leaks in Azure Virtual WAN environments?

BGP route leaks in Azure Virtual WAN are caused by valley-free routing violations, where routes are exported across topological boundaries in ways that violate the hierarchical routing policy of the hub-and-spoke design.

How do I fix BGP route leaks in Azure without disabling peering?

Fix BGP route leaks in Azure by applying policy-level mitigations such as routing intents, export controls, BGP communities, and User Defined Routes, while explicitly rejecting prohibited fixes like disabling BGP or shutting down peering.

Can I use User Defined Routes to mitigate BGP oscillation in Azure?

Yes, User Defined Routes are an allowed policy-level mitigation for BGP oscillation in Azure, alongside routing intents and BGP community tagging, to override problematic dynamic routing paths with static controls.

What are the limitations when resolving Azure BGP routing issues?

When resolving Azure BGP routing issues, you cannot disable BGP, shut down peering, or remove connectivity as fixes; the process is constrained to cloud-correct policy manipulations rather than on-premises router configuration changes.