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

S9300, S9300E, and S9300X V200R010C00

This document describes the VPN configuration procedures and provides 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) 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, LE1D2S04SEC0, LE1D2X32SEC0, and LE1D2H02QEC0 cards support this function. For the cards supported by each product model, see the Hardware Description.


  1. Run:


    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-08-21

Document ID: EDOC1000142068

Views: 119620

Downloads: 212

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