long-lived (Graceful Restart for BGP Restarter)
Syntax
long-lived { restarter { disable; stale-time interval; } }
Hierarchy Level
[edit logical-systems logical-system-name protocols bgp family inet (labeled-unicast | unicast | multicast) graceful-restart], [edit logical-systems logical-system-name protocols bgp group group-name family inet (labeled-unicast | unicast | multicast) graceful-restart], [edit logical-systems logical-system-name protocols bgp group group-name neighbor address family inet (labeled-unicast | unicast | multicast) graceful-restart], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols bgp family inet (labeled-unicast | unicast | multicast) graceful-restart], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols bgp group group-name family inet (labeled-unicast | unicast | multicast) graceful-restart], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols bgp group group-name neighbor address family inet (labeled-unicast | unicast | multicast) graceful-restart], [edit routing-instances routing-instance-name protocols bgp family inet (labeled-unicast | unicast | multicast) graceful-restart], [edit routing-instances routing-instance-name protocols bgp group group-name family inet (labeled-unicast | unicast | multicast) graceful-restart], [edit routing-instances routing-instance-name protocols bgp group group-name neighbor address family inet (labeled-unicast | unicast | multicast) graceful-restart], [edit protocols bgp family inet (labeled-unicast | flow) graceful-restart long-lived restarter], [edit protocols bgp group group-name family inet (labeled-unicast | flow) graceful-restart long-lived restarter], [edit protocols bgp group group-name neighbor address family inet (labeled-unicast | flow) graceful-restart long-lived restarter]
Description
Configure the long-lived graceful restart mechanism on the restarter router to preserve BGP routing details for a longer period from a failed BGP peer than the duration for which such routing information is maintained using the BGP graceful restart functionality. Long-lived graceful restart restarter mode is enabled by default, unless ordinary graceful restart on the restarter router is disabled.
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. See CLI Explorer.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 15.1.