graceful-shutdown (Protocols BGP)
Syntax
graceful-shutdown {
receiver {
disable;
local-preference <value>;
}
sender {
local-preference <value>;
}
}
Hierarchy Level
[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.
The BGP neighbor device must support graceful shutdown feature, without any additional configuration.
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.