graceful-restart
Use graceful-restart to enable BGP Graceful Restart (GR) capability.
Use undo graceful-restart to disable BGP GR capability.
Syntax
graceful-restart
undo graceful-restart
Default
BGP GR capability is disabled.
Views
BGP instance view
Predefined user roles
network-admin
Usage guidelines
GR ensures continuous forwarding when BGP restarts or an active/standby switchover occurs.
BGP peers exchange Open messages containing GR information. If both parties have GR capability, they establish a GR-capable session.
After you execute this command, the device re-establishes BGP sessions.
Examples
# Enable GR capability for BGP process 100.
<Sysname> system-view [Sysname] bgp 100 [Sysname-bgp-default] graceful-restart
Related commands
graceful-restart timer purge-time
graceful-restart timer restart
graceful-restart timer wait-for-rib