Bird bfd configuration
LIU Chris
chris-zq.liu at urbanandmainlines.com
Mon Feb 13 16:50:10 CET 2023
Oh, wonderful, nice configuration. Will try
-----Original Message-----
From: Ondrej Zajicek <santiago at crfreenet.org>
Sent: Monday, February 13, 2023 10:45 AM
To: LIU Chris <chris-zq.liu at urbanandmainlines.com>
Cc: bird-users at network.cz
Subject: Re: Bird bfd configuration
On Mon, Feb 13, 2023 at 02:56:56PM +0000, LIU Chris wrote:
> Hi Zajicek,
>
> Many thanks for your reply.
> No any problem to set just one BFD instance. In my case, I have multiple BGP instances, I set bfd on inside each BGP instance.
> If just one bfd instance, how do bird correlate with BGP instances ?
The BFD instance knows which BGP instance requested that peer, so it notified appropriate BGP instance if something happens with that peer.
> And also, if want to set different min/max Rx interval value for each BGP session in BFD instance configuration, how to distinguish them ?
If they are on different ifaces (like in your example), you can have multiple interface statements in one BFD instance.
But in general, you can specify BFD parameters also directly in BGP protocol as options of 'bfd' switch:
https://bird.network.cz/?get_doc&v=20&f=bird-6.html#bgp-bfd
protocol bfd {
}
protocol bgp {
...
bfd {
min rx interval 1000000 us;
min tx interval 1000000 us;
};
}
--
Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
Thales is in the process of carving out its Transportation activity (GTS) from other Thales’ activities. In order to prepare this internal restructuring, a new e-mail address has been adopted and your GTS contacts now use urbanandmainlines.com. Please note that their Thales e-mail address remains also valid.
More information about the Bird-users
mailing list