329
Examples
# Enable Graceful Restart capability for BGP process 100.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] graceful-restart
Related commands
•
graceful-restart timer restart
•
graceful-restart timer wait-for-rib
graceful-restart timer restart
Use
graceful-restart timer restart
to configure the GR timer.
Use
undo graceful-restart timer restart
to restore the default.
Syntax
graceful-restart timer restart
timer
undo graceful-restart timer restart
Default
The GR timer is 150 seconds.
Views
BGP view
Predefined user roles
network-admin
Parameters
timer
: Specifies the GR time in the range of 3 to 600 seconds.
Usage guidelines
The GR restarter sends the GR timer to the GR helper in an Open message. When the GR helper detects
that an active/standby switchover or a BGP restart occurs on the GR restarter, the GR helper marks all
routes learned from the GR restarter as stale and starts the GR timer. If no BGP session is established
before the GR timer expires, the GR helper removes the stale routes.
Before you configure this command, enable the BGP GR capability.
To apply a new GR timer, you must re-establish BGP sessions.
Examples
# Configure the GR timer as 300 seconds.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] graceful-restart
[Sysname-bgp] graceful-restart timer restart 300
Related commands
•
graceful-restart
•
graceful-restart timer wait-for-rib