15. Bird administration

Generally

  • birdc> show symbols – list of symbols (filtres, protocols,…)
  • birdc> show protocols [all] – list of protocols [including details]
  • birdc> show interface – list of interfaces including IP, etc.
  • birdc> show status – show bird status

Using show route

  • birdc> show route all – all routes including parameters
  • birdc> show route protocol “protocol” [all] – list all routes from given protocol [including details]
  • birdc> show route export “protokol” [all] – list all routes exporting to given “protocol” [including details]
  • birdc> show route for “prefix/ip” [all] – list route for given prefix/ip address [including details]
  • birdc> show route filter “filtr” [all] – list routes according given filter [including details]
  • birdc> show route where bgp_path ~ [= * 1234 * =] – list routes with given bgp path
  • birdc> show route where 127.0.0.5 ~ net – the same as “for prefix” (?)
  • birdc> show route filter { if 10.100.1.0 ~ net then accept; } – debug filter
  • birdc> show route where bgp_path.last = 15685 routes with origin 15685

Editing and reloading

  • edit config
  • birdc> configure soft
  • birdc> reload “protocol”