On 12.08.20 07:43, Farhad wrote:
Hello,
I am trying to change my bird config file and then reload it, but when I try to do *reload all* or *reload in all * reload will fail at static1 and static2, but* reload out all* will be successful. I am not sure what I am missing, your help is much appreciated.
Hi Farhad, If I understand your intention, you want to use `birdc configure` to update/reload your running bird conf, i.e. if your routes or route-options in "protocol static" have been changed. Using `configure`, the state of other protocols like ospf, bgp, rip, etc will not change, so I would consider it "safe" to use. (I use it anytime to apply changes on filters or attributes, etc and never observed an issue.) `birdc configure` will not apply a faulty/broken config. You can also test it with upfront with `birdc -c <conf> -p`. This will only parse the config and all its includes etc and will exit with non-zero if there are any syntax errors. If I understand `reload`, reload will shutdown/close i.e. a ospf or bgp session, remove all routes, and re-init the session. Best, Bernd