Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

graceful-shutdown (Protocols BGP)

date_range 20-Dec-24

Syntax

content_copy zoom_out_map
graceful-shutdown {
    receiver {
        disable;
        local-preference <value>;
    }
    sender {
        local-preference <value>;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit protocols bgp],
[edit protocols bgp group group-name],
[edit protocols bgp group group-name neighbor address],
[edit logical-systems logical-system-name protocols bgp],
[edit logical-systems logical-system-name protocols bgp group group-name],
[edit logical-systems logical-system-name protocols bgp group group-name neighbor address]

Description

Configure graceful shutdown feature for BGP. Graceful shutdown migrates traffic from one BGP next-hop to another without interrupting the traffic flow. This feature can be enabled for both IBGP and EBGP. The router on which the graceful shutdown is performed is known as the sender or initiator. The receiver is the router that has a BGP session with the sender router. A device acting as a sender is by default a receiver. In other words, with the sender feature enabled, the receiver feature cannot be disabled on the same device.

Note:

The BGP neighbor device must support graceful shutdown feature, without any additional configuration.

Note:

On completion of the maintenance window, disabling graceful shutdown is recommended.

Default

The graceful shutdown receiver feature is enabled by default.

The graceful shutdown sender feature is disabled by default.

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

external-footer-nav