This document explains how to configure ospf dead-interval.
What is ospf dead-interval?
Dead interval—If a routing device does not receive a hello packet from a neighbor within a fixed amount of time, the routing device modifies its topology database to indicate that the neighbor is nonoperational. The dead interval specifies the length of time, in seconds, that the routing device waits before declaring that a neighboring routing device is unavailable. This is an interval during which the routing device receives no hello packets from the neighbor. This interval must be the same on all routing devices on a shared network. By default, this interval is four times the default hello interval, which is 40 seconds (broadcast and point-to-point networks) and 120 seconds (NBMA networks).
Below are the commands to configure/modify ospf dead-interval on interface:
set protocols ospf area <area_id> interface <interface_name> dead-interval <dead-interval> set protocols ospf area <area_id> peer-interface <peer_interface_name> dead-interval <dead-interval>
Refer KB for more information on ospf hello-interval:https://supportportal.juniper.net/s/article/How-to-configure-ospf-hello-interval