No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Configuration Guide - VPN

S7700 and S9700 V200R013C00

This document describes the configurations of VPN, including GRE, IPSec, BGP/MPLS IP VPN, BGP/MPLS IPv6 VPN, VLL, PWE3, VPLS, L2VPN Access to L3VPN.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Keepalive Detection

Keepalive Detection

The Keepalive detection function monitors tunnel status to check whether the remote end is reachable. If the tunnel is unreachable, the source end tears down the tunnel immediately. GRE alone does not provide the link status detection function. Therefore, if the remote interface is unreachable, the tunnel would otherwise not be immediately torn down. As a result, the source continuously forwards packets to the remote end which cannot receive the packets, generating data black holes. Using Keepalive detection prevents data black holes and ensures reliable data transmission.

Keepalive detection functions as follows:
  1. After being enabled on the source end of a GRE tunnel, the source end starts a timer to periodically send and count Keepalive probes. Every time a Keepalive probe is sent, the value goes up by 1.

  2. The remote end sends a reply packet to the source end after receiving a probe.

  3. If the source end receives a reply packet before the counter value reaches the preset value, it considers the remote end reachable. If the source end does not receive any reply packet when the counter reaches the preset value (retry times), the source end considers the remote end unreachable and tears down the tunnel. In this case, the source interface still sends Keepalive probes to the remote interface. When the remote interface changes to Up, the source interface does as well, and sets up a tunnel with the remote interface.


The Keepalive detection function takes effect on one end of a tunnel, regardless of whether it is configured on the other end. For example, if the remote end receives a Keepalive probe, it sends a reply packet to the source end, regardless of whether it is configured with the Keepalive detection function.

Updated: 2019-04-08

Document ID: EDOC1100065751

Views: 38980

Downloads: 50

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next