To configure the duration of the OSPF/OSPFv3 graceful restart period, include the restart-duration statement at the [edit protocols (ospf | ospf3) graceful-restart] hierarchy level. To specify the length of time for which the router notifies helper routers that it has completed graceful restart, include the notify-duration at the [edit protocols (ospf | ospf3) graceful-restart] hierarchy level. Strict OSPF link-state advertisement (LSA) checking results in the termination of graceful restart by a helping router. To disable strict LSA checking, include the no-strict-lsa-checking statement at the [edit protocols (ospf | ospf3) graceful-restart] hierarchy level.
- [edit]
- protocols {
-
- ospf {
-
-
graceful-restart {
-
disable;
-
helper-disable;
-
no-strict-lsa-checking
-
notify-duration seconds;
-
restart-duration seconds;
- }
- }
- }
To disable OSPF/OSPFv3 graceful restart, include the disable statement at the [edit protocols (ospf | ospf3) graceful-restart] hierarchy level. To disable the OSPF helper capability, include the helper-disable statement at the [edit protocols (ospf | ospf3) graceful-restart] hierarchy level.
![]() |
Note: You can also track graceful restart events with the traceoptions statement at the [edit protocols (ospf | ospf3)] hierarchy level. For more information, see Tracking Graceful Restart Events. |
![]() |
Note: You cannot enable OSPFv3 graceful restart between a routing platform running JUNOS Release 7.5 and earlier and a routing platform running JUNOS 7.6 or later. As a workaround, make sure both routing platforms use the same JUNOS software version. |
![]() |
Note: If you configure BFD and graceful restart for OSPF, graceful restart might not work as expected. |