[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bird-users
Subject:    Re: reload fails at static protocol
From:       Farhad <ahdfra () gmail ! com>
Date:       2020-08-13 10:53:23
Message-ID: CA+5VFnDX7X49O9nVtp_H1y3sec=XB+74PZkkvvWmWRqKzpXShg () mail ! gmail ! com
[Download RAW message or body]

Hi Bernd,

Thank you very much,

Regards,
Farhad

On Thu, Aug 13, 2020 at 11:12 AM Bernd Naumann <bena@spreadshirt.net> wrote:

> 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
>

[Attachment #3 (text/html)]

<div dir="ltr"><div>Hi Bernd,</div><div><br></div><div>Thank you very \
much,</div><div><br></div><div>Regards,</div><div>Farhad<br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 13, 2020 at 11:12 \
AM Bernd Naumann &lt;<a \
href="mailto:bena@spreadshirt.net">bena@spreadshirt.net</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 12.08.20 07:43, \
Farhad wrote:<br> &gt; Hello,<br>
&gt; <br>
&gt; I am trying to change my bird config file and then reload it, but when I<br>
&gt; try to do<br>
&gt; *reload all* or *reload in all *<br>
&gt; reload will fail at static1 and static2, but* reload out all* will be<br>
&gt; successful.<br>
&gt; I am not sure what I am missing, your help is much appreciated.<br>
&gt; <br>
<br>
Hi Farhad,<br>
<br>
If I understand your intention, you want to use `birdc configure` to <br>
update/reload your running bird conf, i.e. if your routes or <br>
route-options in &quot;protocol static&quot; have been changed.<br>
<br>
Using `configure`, the state of other protocols like ospf, bgp, rip, etc <br>
will not change, so I would consider it &quot;safe&quot; to use. (I use it anytime \
<br> to apply changes on filters or attributes, etc and never observed an issue.)<br>
<br>
`birdc configure` will not apply a faulty/broken config. You can also <br>
test it with upfront with `birdc -c &lt;conf&gt; -p`. This will only parse the <br>
config and all its includes etc and will exit with non-zero if there are <br>
any syntax errors.<br>
<br>
If I understand `reload`, reload will shutdown/close i.e. a ospf or bgp <br>
session, remove all routes, and re-init the session.<br>
<br>
Best,<br>
Bernd<br>
</blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic