OcNOS-SP : Layer 3 Guide : Border Gateway Protocol Command Reference : BGP Commands : bgp graceful-restart
bgp graceful-restart
Use this command to enable BGP graceful-restart capabilities. The restart-time parameter is used for setting the maximum time that a graceful-restart neighbor waits to come back up after a restart. This value is applied to all neighbors unless you explicitly override it by configuring the corresponding value on the neighbor. The stalepath-time parameter is used to set the maximum time to preserve stale paths from a gracefully restarted neighbor. All stalepaths, unless reinstated by the neighbor after a re-establishment, will be deleted at the expiration of this timer.
Use the no parameter with this command to restore the router to its default state.
Command Syntax
bgp graceful-restart
bgp graceful-restart graceful-reset
bgp graceful-restart restart-time <1-3600>
bgp graceful-restart stalepath-time <1-3600>
no bgp graceful-restart
no bgp graceful-restart graceful-reset
no bgp graceful-restart restart-time
no bgp graceful-restart stalepath-time
Parameters
graceful-reset
The BGP daemon is not restarted, so that any changes in network configurations that cause BGP reset do not affect packet forwarding.
restart-time
Maximum time needed for neighbors to restart. Default is 90 seconds.
<1-3600>
Delay value in seconds.
stalepath-time
Maximum time to retain stale paths from restarting neighbors. Default is 360 seconds.
<1-3600>
Delay value in seconds.
Default
By default, the maximum time for neighbors to restart is 90 seconds.
By default, the maximum time to retain stale paths from restarting neighbors is 360 seconds.
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router bgp 10
(config-router)#bgp graceful-restart
 
#configure terminal
(config)#router bgp 10
(config-router)#no bgp graceful-restart
Last modified date: 08/28/2023