long-lived (Graceful Restart for BGP Helper)
Syntax
long-lived { receiver { enable: disable; } advertise-to-non-llgr-neighbor { omit-no-export; } }
Hierarchy Level
[edit logical-systems logical-system-name protocols bgp graceful-restart], [edit logical-systems logical-system-name protocols bgp group group-name graceful-restart], [edit logical-systems logical-system-name protocols bgp group group-name neighbor address graceful-restart], [edit logical-systems logical-system-name routing-instances instance-name protocols bgp graceful-restart], [edit logical-systems logical-system-name routing-instances instance-name protocols bgp group group-name graceful-restart], [edit logical-systems logical-system-name routing-instances instance-name protocols bgp group group-name neighbor address graceful-restart], [edit protocols bgp graceful-restart], [edit protocols bgp group group-name graceful-restart], [edit protocols bgp group group-name neighbor address graceful-restart]
Description
Configure the long-lived graceful restart mechanism 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 receiver or helper mode is enabled by default, unless ordinary graceful restart receiver or helper mode is disabled.
The long-lived receiver enable
overrides a disable
option inherited from a higher level in the configuration. It does
not enable long-lived graceful restart restarter mode for all families—restarter
mode must be configured explicitly for each family. When the LLGR
receiver or helper mode is enabled or disabled, the session is reset.
This behavior enables the new capability value to be sent to the neighbor.
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.
We have enhanced the long-lived graceful restart (LLGR) capabilities for BGP Helper
and introduced the configuration statement extended-route-retention
at [edit protocols bgp group neighbor graceful-restart long-lived]
hierarchy level. When you enable this feature,
extended-route-retention
supports LLGR helper mode regardless
of the BGP peer LLGR capabilities.
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.