Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

long-lived (Graceful Restart for BGP Restarter)

date_range 12-Jun-24

Syntax

content_copy zoom_out_map
long-lived {
    restarter {
        disable;
        stale-time interval;
    }
}

Hierarchy Level

content_copy zoom_out_map
[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.

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. 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.

footer-navigation