It will reset the peer session with BGP and the adjacency with OSPF (when you enable opaque-capability). It won't reset the adjacency when you enable it for ISIS.
It will reset the peer session with BGP and the adjacency with OSPF (when you enable opaque-capability). It won't reset the adjacency when you enable it for ISIS.
Enabling or disabling GR may delete and reestablish all sessions and instances.
Procedure
Run system-view
The system view is displayed.
Run bgpas-number
The BGP view is displayed.
Run graceful-restart
BGP GR is enabled.
(Optional) Run graceful-restart timer restarttime
The maximum time for the local end to wait for GR recovery of the peer is set.
(Optional) Run the ipv4-family flow command to enter the BGP-Flow IPv4 address family view, run the ipv4-flow vpn-instance command to enter the BGP-Flow VPN instance IPv4 address family view, run the ipv4-flow vpnv4 command to enter the BGP-Flow VPNv4 address family view, run the ipv6-family flow command to enter the BGP-Flow IPv6 address family view, or run the ipv6-flow vpn-instance command to enter the BGP-Flow VPN instance IPv6 address family view, and then run the peer { ipv4-address | ipv6-address } graceful-restartstatic-timerrestart-time command to configure the maximum time for the local end to wait for GR recovery of the peer.
NOTE:
ipv6-address takes effect only in BGP-Flow IPv6 address family view and BGP-Flow VPN instance IPv6 address family view.
(Optional) Run graceful-restart peer-reset
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.
Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
Politically sensitive content
Content concerning pornography, gambling, and drug abuse
Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."