Supported Platforms
Related Documentation
- M, PTX, QFX, T Series
- Configuring Graceful Restart Options for BGP
- QFX Series
- Configuring Graceful Restart for QFabric Systems
- Additional Information
- Junos OS High Availability Configuration Guide
graceful-restart (Protocols BGP)
Syntax
Hierarchy Level
Release Information
Statement introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Statement introduced in Junos OS Release 12.1 for the QFX Series.
Description
Enable graceful restart for BGP. Graceful restart allows a routing device undergoing a restart to inform its adjacent neighbors and peers of its condition. Graceful restart is disabled by default.
To configure the duration of the BGP graceful restart period, include the restart-time statement at the [edit protocols bgp graceful-restart] hierarchy level. To set the length of time the router waits to receive messages from restarting neighbors before declaring them down, include the stale-routes-time statement at the [edit protocols bgp graceful-restart] hierarchy level.
![]() | Note: If you configure graceful restart after a BGP session has been established, the BGP session restarts and the peers negotiate graceful restart capabilities. |
Configure graceful restart globally at the [edit routing-options] or [edit routing-instances instance-name routing-options] hierarchy level to enable the feature. You cannot enable graceful restart for specific protocols unless graceful restart is also enabled globally. You can, optionally, modify the global settings at the individual protocol level.
The remaining statements are explained separately.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Related Documentation
- M, PTX, QFX, T Series
- Configuring Graceful Restart Options for BGP
- QFX Series
- Configuring Graceful Restart for QFabric Systems
- Additional Information
- Junos OS High Availability Configuration Guide
Published: 2013-09-06
Supported Platforms
Related Documentation
- M, PTX, QFX, T Series
- Configuring Graceful Restart Options for BGP
- QFX Series
- Configuring Graceful Restart for QFabric Systems
- Additional Information
- Junos OS High Availability Configuration Guide