Enabling or disabling GR may delete and reestablish all sessions and instances.
The system view is displayed.
The BGP view is displayed.
BGP GR is enabled.
The maximum time for the local end to wait for GR recovery of the peer is set.
ipv6-address takes effect only in BGP-Flow IPv6 address family view and BGP-Flow VPN instance IPv6 address family view.
The router is enabled to reset a BGP session in GR mode.
Currently, BGP does not support dynamic capability negotiation. As a result, each time the BGP capability changes, the BGP peer relationship is re-established. In some scenarios where a BGP IPv4 unicast peer relationship is established and IPv4 services are running, if the BGP capability changes, the BGP IPv4 unicast peer relationship will be re-established. This process will interrupt ongoing IPv4 services. To prevent the service interruptions, run the graceful-restart peer-reset command to enable the router to reset a BGP session in GR mode.
The configuration is committed.