cilium-dbg adds table-json output for BGP peers and routes
Introduced 2026-07-14 · score 0.90
HOW TO USE IT
When you need scriptable BGP peer or route data, run the relevant `cilium-dbg bgp` command with `--format table-json`.
cilium-dbg bgp peers --format table-jsoncilium-dbg bgp routes available ipv4 unicast --format table-jsonWHY THIS HELPS
Inspect BGP peer or route data in a scriptable format.
REQUIREMENTS AND LIMITATIONS
- Version: v0.19.6
- --format table-json: Selects table-shaped JSON output. The v0.19.6 release note adds this format for `bgp/peers` and `bgp/routes`; the command implementation recognizes `table-json`.
- bgp routes <available|advertised> <afi> <safi> (required): Selects available or advertised routes and their address family; `ipv4 unicast` is documented as an example.
- Docs conflict: Current stable Cilium command-reference pages list `-o/--output` formats as `json|yaml|jsonpath='{}'` for `cilium-dbg bgp routes`; they do not document `table-json`. The v0.19.6 release note and linked implementation document the added format.
FIRST-PARTY EVIDENCE
- https://github.com/cilium/cilium-cli/releases/tag/v0.19.6
- https://github.com/cilium/cilium/pull/45858
- https://docs.cilium.io/en/stable/cmdref/cilium-dbg_bgp_routes/
Check the installed version and the source before using it. Entry JSON