keepalive (IKEv2)

Configures the interval between Internet Key Exchange version 2 (IKEv2) messages that are sent to detect if a peer is still alive.
Syntax
keepalive interval
no keepalive interval
Command Default

IKEv2 keepalive is enabled and the keepalive interval is 300 seconds.

Parameters
interval
Specifies the number of seconds between each initiation of an IKEv2 notify message. The range is from 10 through 3600. A value of 0 disables the keepalive function.
Modes

IKEv2 profile configuration mode

Usage Guidelines

The no form of the command restores the default configuration.

Examples

The following example shows how to configure a keepalive interval of 500 seconds for an IKEv2 profile named prof_mktg.

device(config)ikev2 profile prof_mktg
device(config-ike-profile-prof_mktg)# keepalive 500 
History
Release version Command history
08.0.50 This command was introduced.