crypto isakmp keepalive

This command configures keep-alive settings for the IPSec tunnel.

Syntax

crypto isakmp keepalive 

Command

Description

retry-interval

Defines the dead peer keep-alive retry-interval in seconds (default is 50 sec).

threshold

Defines the time in seconds after which the device considers itself "dead" (default is 100 sec). The threshold should be a multiple of the retry-interval. For example, if you configure the retry-interval to 60 seconds, then configure the threshold to 120.

Command Mode

crypto isakmp key are defined in enabled configuration mode.

Example

This example defines a keep-alive retry interval of 60 seconds, and a threshold of 120 seconds after which the device considers itself "dead".

(config-data)# crypto isakmp keepalive retry-interval 60
(config-data)# crypto isakmp keepalive threshold 120