Re: [j-nsp] BGP timer

Thomas Bellman via juniper-nsp <[email protected]> Sun, 28 Apr 2024 11:12:36 +0200
Newsgroups gmane.network.nsp.juniper
Message-ID <[email protected]>
On 2024-04-27 09:44, Lee Starnes via juniper-nsp wrote:

> Having difficulty finding a way to prevent BGP from re-establishing after a
> BFD down detect. I am looking for a way to keep the session from
> re-establishing for a configured amount of time (say 5 minutes) to ensure
> we don't have a flapping session for a. link having issues.

Isn't that what the holddown-interval setting does?  It is limited
to 255 seconds (4 minutes 15 seconds), though, and for BGP it is
only allowed for EBGP sessions, not iBGP sessions.

The documentation also says that you need to set holddown-interval
on *both* ends.  I'm gueesing that the holddown only prevents your
end from initiating the BGP session, but that it will still accept
a connection initiated from the other end.

https://www.juniper.net/documentation/us/en/software/junos/cli-reference/topics/ref/statement/bfd-liveness-detection-edit-protocols-bgp.html

I haven't used BFD for BGP myself, though, only for static routes
on a couple of links.  But there I do use holddown-interval, and
at least when I set it up several years ago, it seemed to do what
I expected: after the link and the BFD session came up again, it
waited (in my case) 15 seconds before enabling my static route
again.


-- 
Thomas Bellman,  National Supercomputer Centre,  Linköping Univ., Sweden
"We don't understand the software, and sometimes we don't understand
 the hardware, but we can *see* the blinking lights!"

_______________________________________________
juniper-nsp mailing list [email protected]
https://puck.nether.net/mailman/listinfo/juniper-nsp
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBAgAGBQJmLhMIAAoJEGqUdKqa3HTsWy0P/0cz+EI21JR/f4JMhwj6ewyj
AVO+GC+YheBOSzmwHqFsu4gAO7vcLTiAXQVIP3CtXB6vwtof69NNKPvtOv8wY0SG
0T6GRH5p8+dcnvLoBtXAsXnQy+w2tf1+A/IOo2UlGb8u2uJkcfzDsvT11G6Je2TW
ZIaK1CjSM7bZhTdE83W7PI+697qniEqD/LGNNSh32GB1p0Yr690yBqASr1JFYQcg
Axc1ioz19I+TkzRXu1oJbbxDt56SHB3Hd/Ju4iBWspSZqxnWsctipKhnvNyIx/HE
Z2pD3JwjUqUeQwJlfjTs72TfNkSvNIua2mcwsqJhdDnwxaCCj76UJkrIRFQUUd2G
5cjnyOWIsEQ/Vu2hetE8MZt65C2aiqzEzcfZlHwapHcYV2YIzFHZhwLe50vbhVYh
BP7pRCjABHOCaJogYTxfmBikgAizhHJYnir9cLFcdHGVDv3B9ibeUKxGBYVjKQb+
o/tCbdBqZ8W8onpSOjB/dvIOOjDw0Ww/dEsB6vCDrqmE4Unff5zKgVK+9VfLylAg
p4zsspCXnqwFDxL1xHQma8uoF/3xE630fIRf1FEwEHUg9F7VHGCA43tUf0bLLRxP
PsaGCqAXsawMf1GgEsuuWsm/C2HVGssZ7yD5A6y7vrtX5OWiTk26O8C1auqGJX8p
mKagE9L1Zk2+uYR+2IJF
=2ghF
-----END PGP SIGNATURE-----