bgp graceful-restart

This command enables graceful restart on this router.

Syntax

bgp graceful-restart
no bgp graceful-restart

Parameters

None.

Defaults

None.

Mode

BGP Router Configuration.

Usage

With BGP graceful restart enabled, the data-forwarding plane of a router will continue to process and forward packets even if the control plane fails.

When the router restarts its BGP process, normally peer routers clear all routes associated with the restarting router. When graceful restart is enabled on a router, the peer router marks all routes as “stale” and continues to forward packets based on the expectation that the restarting router will reestablish the BGP session within a reasonable period of time. During the period of the restart, the restarting router continues to forward packets based upon routing state at the time of the restart. Peers refresh the restarting router with RIB updates. When the restarting router completes its restart and RIB update, it in turn updates its peers with any new updates.

The no graceful-restart command resets graceful restart to the default setting of disabled.

Example

The following example enables graceful restart on router 151.1.1.9

System(su-config-bgp)->bgp router 65151
System(su-config-bgp)->bgp router-id 151.1.1.9
System(su-config-bgp)->bgp graceful-restart
System(su-config-bgp)->