Configuring BGP graceful restart (GR)
Perform the following configuration on the GR Restarter and GR Helper respectively.
A device can act as both the GR Restarter and GR Helper simultaneously.
Follow these steps to configure BGP GR.
To do... |
Use the command... |
Remarks |
---|---|---|
Enter the global Configuration context |
configuration |
|
Enable BGP, and enter its view |
bgp as-number |
|
Configure graceful restart |
bgp
graceful-restart staleparth-time {stale-path-time}
|
Required. Disabled by default. |
Configure the maximum time allowed for the peer to reestablish a BGP session |
graceful-restart timer restart timer
|
Optional. 120 seconds by default. |
Configure the maximum time to wait for the End-of-RIB marker |
graceful-restart timer |
The maximum time allowed for the peer (the GR restarter) to reestablish a BGP session should be less than the Holdtime carried in the OPEN message.
The End-Of-RIB (End of Routing-Information-Base) indicates the end of route updates.