keepalive-track (VPN)

Last Updated : Oct 26, 2015 |

Binds an object tracker to a remote VPN peer or to an interface, to check whether the remote peer or the interface is up. Use no keepalive-track to disable this mechanism (default setting).

Note:

When configuring VPN, use the keepalive-track command instead of the keepalive command when the remote peer does not support DPD, or when you want to monitor servers behind the VPN remote peer.

You cannot configure both keepalive-track and ip address dhcp (DHCP Client) on the WAN FastEthernet interface.

Syntax

keepalive-track track-id

no keepalive-track

Parameters

Parameter

Description

Possible Values

Default Value

track-id

The ID of the object tracker

1-100

User level

read-write

Context

interface:FastEthernet (L2, L2-L3, PPP L2, PPP L2-L3), Loopback (L2, L2-L3), Dialer (L2, L2-L3) crypto isakmp peer

Examples

To register a remote VPN peer with object tracker 5:

Gxxx-001(config-peer:149.49.70.1)# keepalive-track 5

To register the FastEthernet interface with object tracker 2:

Gxxx-001(config-if:FastEthernet )# keepalive-track 2