}
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")
}
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"
#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
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: