keepalive
To configure the message keepalive interval for the IKE protocol, use the keepalive command in IKE configuration submode. To revert to the default, use the no form of the command.
keepalive seconds
no keepalive seconds
Syntax Description
seconds |
Specifies the number of seconds for the keepalive interval. The range is 120 to 86400. |
Command Default
3600 seconds or 1 hour.
Command Modes
IKE configuration submode.
Command History
Release |
Modification |
---|---|
2.0(x) |
This command was introduced. |
Usage Guidelines
The keepalive interface only applies to IKE version 2 tunnels.
To use this command, the IKE protocol must be enabled using the crypto ike enable command.
Examples
The following example shows how to configure the keepalive interval:
switch# config terminal
switch(config)# crypto ike domain ipsec
switch(config-ike-ipsec)# keepalive 7200