bgp graceful-restart restart-time
Syntax
bgp graceful-restart restart-time <DELAY>
no bgp graceful-restart restart-time
Description
Sets the graceful restart timer which determines how long the switch waits for a graceful-restart capable neighbor to re-establish BGP peering. 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 default value of 120 seconds.
Command context
config-bgp
Parameters
<DELAY>
Graceful restart timer delay in seconds. Range: 1 to 3600. Default: 1500.
Authority
Administrators or local user group members with execution rights for this command.
Usage
Graceful restart functionality is enabled by default, and there is no command to disable the functionality at the protocol level.
However, the graceful-restart functionality can be disabled globally using the command
router graceful-restart
.
Examples
switch(config-bgp)# bgp graceful-restart restart-time 150 All current BGP sessions in VRF default will be restarted. Do you want to continue (y/n)?
switch(config-bgp)# no bgp graceful-restart restart-time All current BGP sessions in VRF default will be restarted. Do you want to continue (y/n)?