DEFUN (bgp_graceful_restart_restart_time,
bgp_graceful_restart_restart_time_cmd,
- "bgp graceful-restart restart-time (1-4095)",
+ "bgp graceful-restart restart-time (0-4095)",
BGP_STR
"Graceful restart capability parameters\n"
"Set the time to wait to delete stale routes before a BGP open message is received\n"
DEFUN (no_bgp_graceful_restart_restart_time,
no_bgp_graceful_restart_restart_time_cmd,
- "no bgp graceful-restart restart-time [(1-4095)]",
+ "no bgp graceful-restart restart-time [(0-4095)]",
NO_STR
BGP_STR
"Graceful restart capability parameters\n"
This is command, will set the time for which stale routes are kept in RIB.
+.. clicmd:: bgp graceful-restart restart-time (0-4095)
+
+ Set the time to wait to delete stale routes before a BGP open message
+ is received.
+
+ Using with Long-lived Graceful Restart capability, this is recommended
+ setting this timer to 0 and control stale routes with
+ ``bgp long-lived-graceful-restart stale-time``.
+
+ Default value is 120.
+
.. clicmd:: bgp graceful-restart stalepath-time (1-4095)
This is command, will set the max time (in seconds) to hold onto
router bgp 65000
no bgp ebgp-requires-policy
bgp graceful-restart
- bgp graceful-restart restart-time 1
+ bgp graceful-restart restart-time 0
bgp long-lived-graceful-restart stale-time 20
neighbor 192.168.0.2 remote-as external
address-family ipv4 unicast
router bgp 65001
no bgp ebgp-requires-policy
bgp graceful-restart
- bgp graceful-restart restart-time 1
+ bgp graceful-restart restart-time 0
bgp long-lived-graceful-restart stale-time 20
neighbor 192.168.1.2 remote-as external
address-family ipv4 unicast