keepalive-icmp

Last Updated : Oct 25, 2015 |
Enables the ICMP keepalive mechanism on an interface. ICMP keepalive is a mechanism that reports on the status of an IP address and its next hop. The destination interface is only declared to be alive if the next hop is also reachable. This feature is critical for mechanisms such as policy-based routing that must guarantee service on a particular path. Use no keepalive-icmp to disable extended keepalive on the interface.
Prolog information
Note:
You cannot configure both keepalive-icmp and ip address dhcp (DHCP Client) on the WAN FastEthernet interface.

Syntax

[no] keepalive-icmp dest_ ip_address next_hop_mac_address

Parameters

Parameter
Description
Possible Values
Default Value
dest_ip_address
The destination address whose status is being monitored
next_hop_ mac_address
The next hop address for the keepalive packets. This parameter is only relevant for the WAN FastEthernet port.

User level

read-write

Context

interface:FastEthernet

Example

To enable ICMP keepalive on the FastEthernet 10/3 interface for destination IP address 135.64.2.12 using MAC 11.22.33.44.55.66:
Gxxx-001(if:FastEthernet 10/3)# keepalive-icmp 135.64.2.12 11.22.33.44.55.66