
C613-50186-01 Rev B
Command Reference for AR2050V
1137
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
BGP
AND
BGP4+ C
OMMANDS
BGP
GRACEFUL
-
RESTART
bgp graceful-restart
Overview
Use this command to enable BGP and BGP4+ graceful-restart capabilities for
restart and stalepath times.
Use the
no
variant of this command to restore restart timers to their default
settings.
Syntax
bgp graceful-restart [restart-time
<delay-value>
|
stalepath-time
<delay-value>
]
no bgp graceful-restart [restart-time|stalepath-time]
Default
Graceful restart is disabled by default. If you enable it and do not specify the
restart-time and stalepath-time, they default to 120 seconds.
Mode
Router Configuration
Usage
The
restart-time
parameter is used for setting the maximum time that a
graceful-restart neighbor waits to come back up after a restart. This
restart-time
value is applied to neighbors unless you explicitly override it by configuring the
corresponding value on the neighbor.
The
stalepath-time
parameter is used to set the maximum time to preserve stale
paths from a gracefully restarted neighbor. All stalepaths, unless reinstated by the
neighbor after a re-establishment, will be deleted when time, as specified by the
stalepath-time
parameter, expires.
Examples
To enable graceful restart, use the commands:
awplus#
configure terminal
awplus(config)#
router bgp 10
awplus(config-router)#
bgp graceful-restart
To disable graceful restart, use the commands:
awplus#
configure terminal
awplus(config)#
router bgp 10
awplus(config-router)#
no bgp graceful-restart
Parameter
Description
restart-time
The maximum time needed for neighbors to restart, in
seconds.
The default restart-time is 120 seconds.
stalepath-time
The maximum time to retain stale paths from restarting
neighbors, in seconds. The default stalepath-time is 120
seconds.
<delay-value>
<1-3600> Maximum time in seconds.