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

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

(Optional) Configuring a Security Mechanism for GRE

Context

You can configure the end-to-end check or a key for both ends of a GRE tunnel to improve the GRE tunnel security. This mechanism prevents devices from incorrectly identifying and receiving invalid packets.

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 checksum

    The checksum verification function is enabled for the GRE tunnel.

    By default, the end-to-end checksum verification function is disabled on a tunnel.

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

    A key is configured for the GRE tunnel.

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

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

    NOTE:

    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.

    The commands in Step 3 and Step 4 are independent of each other.

Translation
Download
Updated: 2019-08-07

Document ID: EDOC1100033725

Views: 143908

Downloads: 361

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