Enabling the keepalive feature

Last Updated : Nov 06, 2012 |
Prolog information
  1. Use the keepalive command in the GRE Tunnel interface context to enable the tunnel keepalive feature.
    ADDITIONAL INFORMATION:
    Note:
    You do not have to configure tunnel keepalive on both sides of the tunnel.
    ADDITIONAL INFORMATION:
    Use the no form of this command to deactivate the feature.
The following example configures Tunnel 1 to send keepalive packets every 20 seconds. If the tunnel’s destination interface fails to respond to three consecutive packets, the tunnel’s source interface concludes that the tunnel is down. The source interface continues to send keepalive packets, but until it receives a response from the tunnel’s destination interface, the tunnel informs hosts that send packets to the tunnel that the tunnel is down.
Gxxx-001# interface tunnel 1
Gxxx-001(if:Tunnel 1)# keepalive 20 3
Done!