<< All versions
Skill v1.0.0
currentAutomated scan100/100sands-lab/nika/bgp-fault-skill
──Details
PublishedOctober 20, 2026 at 08:01 AM
Content Hashsha256:ff6beb1c969d863f...
Git SHAe2a6f9183ddd
──Files
Files (1 file, 2.5 KB)
SKILL.md2.5 KBactive
SKILL.md · 29 lines · 2.5 KB
version: "1.0.0" name: bgp-fault-skill description: Identify BGP routing faults — ASN misconfiguration, missing route advertisement, prefix hijacking, blackhole route leak. Use when reachability failures follow BGP-routed paths, BGP sessions fail to establish, or expected prefixes are missing from peers.
BGP Faults
What These Faults Mean
bgp_asn_misconfig: the router's local ASN does not match what its peers expect, so BGP sessions fail to establish.bgp_missing_route_advertisement: anetworkstatement for a locally-attached prefix is missing from the router'srouter bgpblock, so peers never learn that prefix.bgp_hijacking: a router loopback claims a service IP/prefix that belongs elsewhere, and BGP advertises it, so traffic is pulled to the wrong router.bgp_blackhole_route_leak: a static route toNull0is configured inside FRR and advertised into BGP via a matchingnetworkstatement, attracting traffic that is then dropped.host_static_blackhole: a kernel-level blackhole route (ip route ... blackhole) is installed on a router for a directly-attached host subnet. There is noip route ... Null0line in the FRR running-config; the prefix is the host's own subnet, which BGP already advertises as part of normal baseline config.
Required tool usage
- FRR MCP tools use
router_name, nothost_name. - If unsure of the FRR schema, fall back to
exec_shell(host_name="<router>", command="vtysh -c '...'"). frr_show_running_configandfrr_show_ip_routecan look clean when the daemon is dead; they are secondary evidence.
Guardrails
- A route being "missing or surprising" is not enough. You need direct config or routing-table evidence on the offending router.
bgp_hijackingrequires both the loopback IP AND the advertisingnetworkstatement — one alone is not a hijack.bgp_blackhole_route_leakrequires both an FRR-configip route <P> Null0line and a matchingnetwork <P>advertisement underrouter bgp. A pre-existingnetworkfor a router's normal attached subnet is not enough on its own.host_static_blackholerequires a kernel-levelblackholeroute on the router for an attached host subnet, with no correspondingip route ... Null0line in the FRR running-config. If you see a kernel blackhole and immediately concludebgp_blackhole_route_leakbecause the prefix also appears as anetworkstatement, you have misclassified — thenetworkstatement is normal baseline config; the leak label requires the explicit FRR-config Null0 line.