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

AR650, AR1600, and AR6100 V300R003

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 the DF Flag Bit for GRE Packets

(Optional) Configuring the DF Flag Bit for GRE Packets

Context

The length of GRE-encapsulated packets may exceed the maximum transmission unit (MTU) of the outbound interface on the local device. If the remote device on a GRE tunnel does not support fragmentation and reassembly, it cannot decapsulate packets and will discard or invalidly process packets, affecting packet transmission.

To prevent packet loss, you can set the DF flag bit for GRE packets to clear to allow fragmentation of GRE packets. After the DF flag bit is set to clear, the local device pre-calculates the packet length. If the packet length after GRE encapsulation exceeds the MTU, the local device fragments the GRE packets and encapsulates each fragment. After packets reach the GRE remote device, the remote device can decapsulate the fragments without having to reassemble them. The decapsulated packets will be forwarded normally.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run gre df-bit { clear | set | copy }

    The DF flag bit is set for GRE packets.

    By default, the DF flag bit for GRE packets uses the clear mode.

Download
Updated: 2019-04-12

Document ID: EDOC1100041799

Views: 31583

Downloads: 45

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