bgp stale-path-time

This command configures the maximum time following a graceful restart before removing stale routes from the the peer.

Syntax

bgp stale-path-time time-seconds
no bgp stale-path-time

Parameters

time-seconds Specifies the number of seconds to wait following a restart before removing stale routes from the peer. Valid values are from 1 - 3600. The default value is 150 seconds.

Defaults

None.

Mode

BGP Router Configuration.

Usage

The bgp stale-path-time setting must be greater than or equal to the configured restart time.

Graceful restart must be enabled for the stale path time setting to be relevant.

The no bgp stale-path-time command resets the stale path time value to the default value of 120 seconds.

Example

The following example configures the stale-path-time to be 130 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 130