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

Reminder

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

upgrade

Configuration Guide - VPN

S1720, S2700, S5700, and S6720 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

Context

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.

NOTE:

Only the S5720HI support this function.

Procedure

  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.

Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000141944

Views: 111820

Downloads: 588

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