BGP GR can be configured to avoid traffic interruption due to protocol restart.
BGP restart causes peer relationship reestablishment and traffic interruption. After GR is enabled, traffic interruption can be prevented in the event of BGP restart.
The following roles are involved in BGP GR:
A GR-capable device can establish GR sessions with a GR-capable neighbor. By controlling the session negotiation mechanism of BGP, the GR restarter and the GR helper can understand each other's GR capability. When detecting the restart of the GR restarter, the GR helper does not delete the routing and forwarding entries related to the GR restarter, but waits to re-establish a BGP connection with the GR restarter. After establishing a new BGP connection, the GR restarter and the GR helper update BGP routes.