bgp graceful-restart restart-time

Syntax

bgp graceful-restart restart-time <VALUE>

no bgp graceful-restart restart-time <VALUE>

Description

This command configures the time in seconds to wait for a graceful restart capable neighbor to re-establish BGP peering. Any changes in BGP configuration are applied by restarting the current BGP sessions in the VRFs.

The no form of this command resets to the default value of 120 seconds.

Command context

config-bgp

Parameters

<VALUE>

Specifies a restart timer value. Default 120 seconds. Range: 1-3600.

Authority

Administrators

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 router graceful-restart <ENABLE/DISABLE> command.

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)?