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.


CLI-based Configuration Guide - VPN

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document describes VPN features on the device and provides configuration procedures and configuration examples.
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).
(Optional) Enabling the Keepalive Detection Function for GRE

(Optional) Enabling the Keepalive Detection Function for GRE


After the Keepalive detection function is enabled, the local device periodically sends Keepalive probes to the peer to check tunnel connectivity. If the peer is reachable, the local device receives a reply packet from the peer. Otherwise, the local device cannot receive a reply packet, and then disconnects the tunnel connection.

The Keepalive detection function takes effect on one end of the tunnel as long as this end is configured with the Keepalive detection function. The other end of the tunnel is not required to have the Keepalive detection function configured. To ensure that both ends of the tunnel can detect whether the peer is reachable, you are advised to enable the Keepalive detection function on both ends.


  1. Run system-view

    The system view is displayed.

  2. Run interface tunnel interface-number

    The tunnel interface view is displayed.

  3. Run keepalive [ period period [ retry-times retry-times ] ]

    The Keepalive detection function is enabled for GRE.

    By default, the Keepalive detection function of GRE is disabled.

Updated: 2019-08-07

Document ID: EDOC1100033725

Views: 154253

Downloads: 372

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