Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


threshold (Services IPsec)


Hierarchy Level


Specify the maximum number of unsuccessful dead peer detection (DPD) requests to be sent before the peer is considered unavailable. The threshold value is used for IKEv1 security associations (SAs). Starting in Junos OS Release 17.2R1, the threshold value is also applicable to IKEv2 SAs. In Junos OS Release 17.1 and earlier, the threshold option is not applicable to IKEv2 SAs, which use the default value.



Maximum number of unsuccessful DPD requests to be sent.

  • Range: 1 through 10

  • Default: 3

Required Privilege Level

security—To view this statement in the configuration.

security-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 11.4.

IKEv2 support introduced in Junos OS Release 17.2.