birdc
Control client for the BIRD routing daemon
TLDR
Show protocols
$ birdc show protocols
Show routes$ birdc show route
Show protocol details$ birdc show protocols all [bgp1]
Reload configuration$ birdc configure
Disable protocol$ birdc disable [bgp1]
SYNOPSIS
birdc [options] [command]
DESCRIPTION
birdc is the client for the BIRD routing daemon. It connects to the BIRD daemon via a control socket and allows querying routing information, managing protocols, and reconfiguring the daemon.
The tool is the primary interface for monitoring and controlling BIRD.
PARAMETERS
-s socket
Control socket path-r
Restricted mode
CONFIGURATION
/etc/bird/bird.conf
Main configuration file for the BIRD routing daemon that birdc controls.
COMMON COMMANDS
show protocols [all] [name]
Display routing protocols statusshow route [all]
Display routing tableshow interfaces
Show network interfacesshow status
Show daemon statusconfigure [file]
Reload configurationenable protocol
Enable protocoldisable protocol
Disable protocolrestart protocol
Restart protocoldown
Shut down BIRD daemon
WORKFLOW
$ # Show all protocols
birdc show protocols
# Detailed protocol info
birdc show protocols all bgp1
# Show routing table
birdc show route
# Show specific route
birdc show route for 192.0.2.0/24
# Reload config
birdc configure
# Restart BGP session
birdc restart bgp1
birdc show protocols
# Detailed protocol info
birdc show protocols all bgp1
# Show routing table
birdc show route
# Show specific route
birdc show route for 192.0.2.0/24
# Reload config
birdc configure
# Restart BGP session
birdc restart bgp1
INTERACTIVE MODE
$ # Start interactive session
birdc
bird> show protocols
bird> show route all
bird> exit
birdc
bird> show protocols
bird> show route all
bird> exit
CAVEATS
Requires BIRD daemon running. Socket permissions may restrict access. Some commands need privileges. Configuration errors can disrupt routing. Changes are immediate (no confirmation).
HISTORY
birdc has been part of the BIRD suite since its creation in 1998 as the control interface for the routing daemon.
