# FRRouting Dual ISP BGP + BFD Failover Audit

> Turn any dual-homed Linux FRRouting edge gateway into a deterministic sub-second failover router without 180-second BGP blackholes or accidental transit route leaks.

FRRouting Dual ISP BGP + BFD Failover Audit is a free AI agent skill on Agensi by Alexey Zhuykov. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Alexey Zhuykov](https://www.agensi.io/creators/alexey-zhuykov)
- Version: 1.0
- Last updated: 2026-11-25
- Security: scan passed (2026-11-25); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/frrouting-dual-isp-bgp-bfd-failover-audit
- Tags: bgp, bfd, frrouting, networking, linux, telecom

## About this skill

Dual-homed Linux edge routers often suffer from 180-second blackholes during fiber cuts or accidental transit route leaks that can crash upstream peers. This skill provides a deterministic auditing and configuration framework to implement sub-second (0.9s) failover using FRRouting with BGP and BFD.

### What it does
- **Lints FRR configs** against 10 production ISP invariants to detect misconfigurations before deployment.
- **Enforces RFC 8212** compliance to ensure no prefixes are leaked without explicit policy.
- **Prevents AS transit leaks** by generating strict outbound prefix-lists and aggregate anchors.
- **Automates BFD profiles** to reduce failover detection from minutes to under a second.
- **Simulates convergence** to quantify the packet loss reduction of BGP+BFD versus standard BGP hold timers.

### How it works
1. **Audit** the existing `frr.conf` and `daemons` files using the built-in linter to identify missing safety guards.
2. **Simulate** the impact of a silent Layer 2 failure to justify BFD interval settings to stakeholders.
3. **Generate** or remediate the configuration using hardened templates that include primary/backup traffic steering via Local Preference and AS-Path prepending.
4. **Verify** the final configuration with specific `vtysh` commands to confirm BFD peer states and advertised routes.

### Frameworks & tools
This skill targets FRRouting (FRR) versions 10.x running on Linux. It utilizes `bgpd` and `bfdd` daemons, strictly following BGP and BFD protocols.

### Why this beats prompting it yourself
Standard LLM prompts often overlook critical ISP edge safety like `Null0` aggregate anchors or RFC 8212 enforcement. This skill uses a codified 10-invariant check that guarantees your edge router won't accidentally act as a transit provider for your ISPs.

### Use cases
- Hardening a Linux-based corporate edge gateway for dual-ISP redundancy.
- Preparing technical documentation and justification for a BFD implementation change-control.
- Auditing a third-party FRR configuration for compliance with anti-transit route-leak best practices.

### Known limitations
Requires both `bgpd` and `bfdd` to be supported and enabled in the FRR installation. Audits are optimized for FRR 10.2 and may flag false positives on very old legacy versions.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the FRRouting Dual ISP BGP + BFD Failover Audit skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill differ from a standard BGP configuration?

This skill specifically addresses the 'blackhole' problem where BGP takes minutes to time out during a fiber cut. It implements Bidirectional Forwarding Detection (BFD) to force failover in under 0.9 seconds while enforcing strict filters to prevent your router from accidentally leaking ISP traffic.

### Do I need to install any custom software on my Linux gateway to use this?

No, you only need to provide your existing 'frr.conf' and 'daemons' files. The skill will audit your current setup and provide the specific remediation steps or a new hardened configuration for you to apply via vtysh.

### What exactly is included in the purchase of this skill?

You receive the full deterministic auditing framework, the 10-point ISP invariant linter, and hardened configuration templates. It also includes a simulation logic to calculate your specific convergence time improvements for stakeholder reporting.

### Can this skill help prevent my ISP from dropping my BGP session due to route leaks?

Yes, the skill enforces RFC 8212 compliance and automatically generates outbound prefix-lists and aggregate anchors. This ensures your router never accidentally acts as a transit path between your two ISPs, preventing potential service suspension or crashes.

### Are there any specific network environments where this skill won't work?

The skill requires both the 'bgpd' and 'bfdd' daemons to be enabled in your FRR installation. While it works with most dual-homed setups, it is specifically designed for IPv4/IPv6 edge peering rather than complex internal MPLS or VPLS environments.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
