bgp restart-timeout

This command configures the estimated time advertised to peers in the OPEN message for the session to be reestablished after a graceful restart.

Syntax

bgp restart-timeout time-seconds
no bgp restart-timeout

Parameters

time-seconds Specifies the number of seconds advertised to peers for the session to be reestablished after a graceful restart. Valid values are from 1 - 3600. The default value is 120 seconds.

Defaults

None.

Mode

BGP Router Configuration.

Usage

The bgp restart?timeout command specifies the interval which BGP advertises to its peers as the estimated time (in seconds) it will take for the BGP session to be re-established after a restart. This can be used to speed up routing convergence by its peer in case the BGP speaker does not come back after a restart.

Following a local restart, BGP will impose the restart timeout value as the upper bound on the length of time permitted for BGP to restart. If BGP fails to restart within the restart timeout period, the route selection process will commence immediately thereby overriding the defer timer.

This field is also the time BGP will wait for a failed stub to re-join. If the stub does not come back within this time, BGP will deactivate.

Graceful restart must be enabled for restart-timeout to be relevant.

The no bgp restart-timeout command resets the restart timeout value to the default value of 120 seconds.

Example

The following example configures the restart-timeout to be 150 seconds:

System(su-config)->router bgp 65151
System(su-config-bgp)->bgp router-id 159.1.1.9
System(su-config-bgp)->bgp restart-timeout 150