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).
(Optional) Configuring a Security Mechanism for GRE

(Optional) Configuring a Security Mechanism for GRE


You can configure key numbers for both ends of a GRE tunnel to improve GRE tunnel security. This security mechanism ensures that a device accepts only packets sent from the valid tunnel interface and discards invalid packets.


Only the X series cards support this function.

The XGE interface connected to ACU2 supports this function.


  1. Run system-view

    The system view is displayed.

  2. Run interface tunnel interface-number

    The tunnel interface view is displayed.

  3. Run gre key { plain key-number | [ cipher ] plain-cipher-text }

    A key is configured for the GRE tunnel.

    Specify the same value for the key-number parameter on tunnel interfaces on both ends of the GRE tunnel, or configure no key for either end of the tunnel.

    By default, no key is configured for the GRE tunnel.

    If plain is selected, the key is saved in the configuration file in plain text. This brings security risks. It is recommended that you select cipher to save the key in cipher text.

Updated: 2019-04-08

Document ID: EDOC1100065751

Views: 39343

Downloads: 50

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