bgp graceful-restart stalepath-time

Syntax

bgp graceful-restart stalepath-time <TIME>

no bgp graceful-restart stalepath-time

Description

Sets the stale path timer. This timer determines how long BGP keeps stale routes from the restarting BGP peer. Any changes in BGP configuration are applied by restarting the current BGP sessions on the VRFs.

The no form of this command resets to the stale path timer to the default of 150 seconds.

Command context

config-bgp

Parameters

<TIME>

Specifies the stale path timer in seconds. Range: 1 to 3600. Default: 150.

Authority

Administrators or local user group members with execution rights for this command.

Examples

switch(config-bgp)# bgp graceful-restart stalepath-time 300
All current BGP sessions in VRF default will be restarted.
Do you want to continue (y/n)?
switch(config-bgp)# no bgp graceful-restart stalepath-time
All current BGP sessions in VRF default will be restarted.
Do you want to continue (y/n)?