Static route tracking with BFD
Юрий Иванов
format_hub at outlook.com
Wed Jan 8 07:50:27 CET 2020
Strange but such construction leads to error:
87 route 1.0.1.1/32 via 10.0.100.1 {
88 bfd;
89 };
bird> configure
Reading configuration from /etc/bird.conf
/etc/bird.conf:88:11 syntax error, unexpected BFD
bird>
Only first example works:
route 1.0.1.1/32 via 10.0.100.1 bfd;
________________________________
От: Ondrej Zajicek <santiago at crfreenet.org>
Отправлено: 6 января 2020 г. 5:20
Кому: Юрий Иванов <format_hub at outlook.com>
Копия: bird-users at network.cz <bird-users at network.cz>
Тема: Re: Static route tracking with BFD
On Fri, Jan 03, 2020 at 02:28:25PM +0000, Юрий Иванов wrote:
> Hi,
>
> I've successfully bring bfd session up with my router.
> All seems good, but in some cases I will need to flush static route if bfd session comes down.
>
> As far as I know BIRD 2.0.7 support this but how to configure it?
Hi
See examples from docs:
route 10.0.0.0/8 # Multipath route
via 198.51.100.10 weight 2
via 198.51.100.20 bfd # BFD-controlled next hop
via 192.0.2.1;
...
route 192.168.10.0/24 via 198.51.100.100 {
ospf_metric2 = 100; # Set extended attribute
ospf_tag = 2; # Set extended attribute
bfd; # BFD-controlled route
};
--
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."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20200108/444509c2/attachment.htm>
More information about the Bird-users
mailing list