From aa2ec912f5a557f340a633e95b9fbf2ad7937edd Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Wed, 4 Jul 2018 16:42:42 +0200 Subject: [PATCH] BGP: Long-lived graceful restart enhancements When use of LLGR is negotiated, handle hold timeout by LLGR instead of by hard restart. Allow to configure whether BFD session down event should be handled by GR/LLGR or by hard restart. --- doc/bird.sgml | 9 ++++++--- proto/bgp/bgp.c | 24 +++++++++++++++++++++++- proto/bgp/bgp.h | 2 ++ proto/bgp/config.Y | 1 + 4 files changed, 32 insertions(+), 4 deletions(-) diff --git a/doc/bird.sgml b/doc/bird.sgml index c66e8c72..7cbb4de6 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -1977,13 +1977,16 @@ using the following configuration parameters: immediately shut down. Note that this option cannot be used with multihop BGP. Default: disabled. - + BGP could use BFD protocol as an advisory mechanism for neighbor liveness and failure detection. If enabled, BIRD setups a BFD session for the BGP neighbor and tracks its liveness by it. This has an advantage of an order of magnitude lower detection times in case of - failure. Note that BFD protocol also has to be configured, see - section for details. Default: disabled. + failure. When a neighbor failure is detected, the BGP session is + restarted. Optionally, it can be configured (by + section for details. Default: disabled.