Configuring graceful restart of OSPF routing

OSPF routing can be gracefully restarted on HPE switches without losing packets that are in transit. OSPF neighbors are informed that the router is completing a graceful restart, which allows for maintenance on the switch without interrupting traffic in the network. There is no effect on the saved switch configuration.

Prerequisites

You must be in the router configuration context, as indicated by the switch(config-router)# prompt.

Procedure
Enable graceful restart of OSPF routing using the following command. For command details, see graceful-restart.

graceful-restart {restart-interval <seconds> | helper}

For example, the following command specifies 50 seconds as the maximum interval another router will wait for this router to gracefully restart.
switch(config-router)# graceful-restart restart-interval 50