# neighbor graceful-restart restart-time

#### Syntax

neighbor { ipAddress | ipv6Address | peerGroupName } graceful-restart restart-time
seconds

no neighbor { ipAddress | ipv6Address | peerGroupName } graceful-restart restart-time
[ seconds ]

#### Release Information

Command introduced before JunosE Release 7.1.0.
ipv6Address variable added in JunosE Release 8.0.0.

#### Description

Sets the time period advertised to a specific peer or peer group during which a restart is expected to be complete on this BGP speaker. If the speaker does not reestablish peering sessions within this period, the peer flushes all routes from this speaker that it marked as stale when the speaker restarted and the session went down. The no version restores the default value, 120 seconds.

#### Options

- ipAddress—IP address of BGP neighbor
- ipv6Address—IPv6 address of BGP neighbor
- peerGroupName—Name of a BGP peer group. If you specify a BGP peer group by using the peerGroupName argument, all the members of the peer group inherit the characteristic configured with this command, unless it is overridden for a specific peer.
- seconds—Integer in the range 1–3600; default value is 120 seconds

#### Mode

Address Family Configuration, Router Configuration