Configure Graceful Restart
Graceful restart is disabled by default. You can globally enable graceful restart for all routing protocols under the
[edit routing-options]hierarchy level.To configure graceful restart specifically for BGP, include the
graceful-restartstatement:graceful-restart {disable;restart-time;stale-routes-time;}You can configure graceful restart globally for all BGP groups (at the
[edit protocols bgp]hierarchy level), for all peers in a group (at the[edit protocols bgp groupgroup-name]level), or for an individual peer (at the[edit protocols bgp groupgroup-nameneighboraddress]level).
Configuring graceful restart for BGP causes the BGP peer routing statistics to zero out.
To disable graceful restart for BGP, specify the
disablestatement. To configure a time period to complete restart, specify therestart-timestatement. To configure a time period over which to keep stale routes during a restart, specify thestale-routes-timestatement.