Enabling Graceful Restart
Graceful restart is disabled by default. You must configure
graceful restart at the [edit routing-options]
or [edit routing-instances instance-name routing-options]
hierarchy level to enable the feature globally.
For example:
routing-options { graceful-restart; }
You can, optionally, modify the global settings at the individual protocol level or, as of Junos OS 15.1, at the individual routing instance level.
If you configure graceful restart after a BGP or LDP session has been established, the BGP or LDP session restarts and the peers negotiate graceful restart capabilities.
To disable graceful restart, include the disable
statement.
You can do this globally for all protocols by including the disable
statement at the [edit routing-options]
hierarchy level,
or you can disable graceful restart for a single protocol by including
the disable statement at the [edit protocols protocol graceful-restart]
hierarchy level. To configure a time period
for complete restart, include the restart-duration
statement.
You can specify a number between 120 and 900.
For a list of hierarchy levels at which you can include this statement, see the statement summary section for this statement.
When you include the graceful-restart
statement at
the [edit routing-options]
hierarchy level, graceful restart
is also enabled for aggregate and static routes.
Change History Table
Feature support is determined by the platform and release you are using. Use Feature Explorer to determine if a feature is supported on your platform.