Works with the AI Agents you already use

    FD

    FRRouting Dual ISP BGP + BFD Failover Audit

    by Alexey Zhuykov

    1

    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.

    Free

    Security scanned
    FD

    FRRouting Dual ISP BGP + BFD Failover Audit

    Example session with this skill installed

    Audit our FRRouting /etc/frr dual-ISP config against all 10 production invariants, verify anti-transit safety, and simulate BGP-only vs BGP+BFD failover.

    • Read your context and instructions
    • Compiled the frrouting dual isp

    Summary

    Audited edge-gw/frr.conf + daemons: RESULT ok=True passed=10 failed=0 warnings=0 (BFD=900 ms).

    ScenarioConvergenceEst. Packet Loss @ 1000 pps
    BGP-only (180s hold)180.04 s~180,040 pkts
    BGP + BFD (300ms x 3)0.94 s~940 pkts (191.5x faster)

    Anti-Transit Guard (BGP-04) and RFC 8212 (BGP-01) verified.

    Connects securely to your tools. The creator never sees your data.

    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

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 9 days ago

    • Free with an Agensi account

    Permissions

    Terminal / Shell
    Listed9 days ago

    What's inside

    Frequently Asked Questions

    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.

    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.

    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.

    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.

    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.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    Free