mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 10:09:17 +00:00
bgpd: Change default long-lived graceful restart stale timer to 0 seconds
That means the feature is off by default. Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
This commit is contained in:
parent
1479ed2fb3
commit
7f8a9a24a9
@ -3163,7 +3163,8 @@ DEFUN (no_bgp_graceful_restart_rib_stale_time,
|
||||
}
|
||||
|
||||
DEFUN(bgp_llgr_stalepath_time, bgp_llgr_stalepath_time_cmd,
|
||||
"bgp long-lived-graceful-restart stale-time (0-4294967295)", BGP_STR
|
||||
"bgp long-lived-graceful-restart stale-time (1-4294967295)",
|
||||
BGP_STR
|
||||
"Enable Long-lived Graceful Restart\n"
|
||||
"Specifies maximum time to wait before purging long-lived stale routes\n"
|
||||
"Stale time value (seconds)\n")
|
||||
@ -3179,7 +3180,7 @@ DEFUN(bgp_llgr_stalepath_time, bgp_llgr_stalepath_time_cmd,
|
||||
}
|
||||
|
||||
DEFUN(no_bgp_llgr_stalepath_time, no_bgp_llgr_stalepath_time_cmd,
|
||||
"no bgp long-lived-graceful-restart stale-time [(0-4294967295)]",
|
||||
"no bgp long-lived-graceful-restart stale-time [(1-4294967295)]",
|
||||
NO_STR BGP_STR
|
||||
"Enable Long-lived Graceful Restart\n"
|
||||
"Specifies maximum time to wait before purging long-lived stale routes\n"
|
||||
|
@ -1885,7 +1885,7 @@ struct bgp_nlri {
|
||||
#define BGP_DEFAULT_UPDATE_ADVERTISEMENT_TIME 1
|
||||
|
||||
/* BGP Long-lived Graceful Restart */
|
||||
#define BGP_DEFAULT_LLGR_STALE_TIME 360
|
||||
#define BGP_DEFAULT_LLGR_STALE_TIME 0
|
||||
|
||||
/* BGP uptime string length. */
|
||||
#define BGP_UPTIME_LEN 25
|
||||
|
@ -995,11 +995,13 @@ Long-lived Graceful Restart
|
||||
Currently, only restarter mode is supported. This capability is advertised only
|
||||
if graceful restart capability is negotiated.
|
||||
|
||||
.. clicmd:: bgp long-lived-graceful-restart stale-time (0-4294967295)
|
||||
.. clicmd:: bgp long-lived-graceful-restart stale-time (1-4294967295)
|
||||
|
||||
Specifies the maximum time to wait before purging long-lived stale routes for
|
||||
helper routers.
|
||||
|
||||
Default is 0, which means the feature is off by default. Only graceful
|
||||
restart takes into account.
|
||||
|
||||
.. _bgp-shutdown:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user