protocol-participation

Participate in live BGP, OSPF, and GRE protocols in a test lab.

Updated Feb 28, 2026
One-click install
npx skills add https://github.com/dgethings/netclaw --skill protocol-participation-dgethings
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: protocol-participation
Source: https://github.com/dgethings/netclaw/tree/main/workspace/skills/protocol-participation
Command: npx skills add https://github.com/dgethings/netclaw --skill protocol-participation-dgethings

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Live BGP and OSPF control-plane participation — peer with real routers, inject/withdraw routes, query RIB/LSDB, adjust metrics, GRE tunnel status. Use when injecting or withdrawing BGP routes, checking BGP peer state, querying the OSPF LSDB, or testing route advertisement in a lab.

Core Features & Use Cases

  • BGP Tools: bgp_get_peers, bgp_get_rib, bgp_inject_route, bgp_withdraw_route, bgp_adjust_local_pref
  • OSPF Tools: ospf_get_neighbors, ospf_get_lsdb, ospf_adjust_cost
  • GRE Tools: gre_tunnel_status
  • Meta Tools: protocol_summary
  • Lab & integration: FRR lab testbed, MCP workflow, and safety guardrails for production changes

Quick Start

Run the protocol-participation workflow against the FRR testbed to observe BGP/OSPF behavior.

Frequently Asked Questions about protocol-participation

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

FAQPage Schema
How do I inject and withdraw BGP routes in a lab environment?▼

BGP route injection and withdrawal in a lab is done using the bgp_inject_route and bgp_withdraw_route tools, allowing you to test route advertisement behavior against real routers in a controlled FRR topology.

What do I need to set up live OSPF and BGP protocol testing with FRR?▼

Live OSPF and BGP protocol testing requires Python3, Scapy, NetworkX, and MCP libraries. You must also configure a lab FRR topology with specific environment variables like NETCLAW_ROUTER_ID and NETCLAW_LOCAL_AS.

Can I query the OSPF LSDB and check BGP peer state in a network lab?▼

Yes, you can query the OSPF LSDB using ospf_get_lsdb and check BGP peer state with bgp_get_peers. These tools provide direct inspection of link-state databases and peer relationships within your testbed.

How do I adjust BGP local preference and OSPF costs during protocol testing?▼

You can adjust BGP local preference using bgp_adjust_local_pref and modify OSPF costs with ospf_adjust_cost. These tools allow you to tune routing metrics dynamically across multiple testbeds during experiments.

Does this approach include safety guardrails for production network changes?▼

Yes, the protocol testing workflow includes safety guardrails specifically designed for production changes. This ensures that route injections, metric adjustments, and tunnel inspections remain isolated to controlled lab experiments.

How do I check GRE tunnel status alongside BGP and OSPF in a testbed?▼

You can check GRE tunnel status using the gre_tunnel_status tool, which operates alongside BGP and OSPF utilities. The protocol_summary meta tool also provides a combined overview of all protocol states.