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 - IP Service

CloudEngine 8800, 7800, 6800, and 5800 V200R003C00

This document describes the configurations of IP Service, including IP address, ARP, DHCP, DNS, IP performance optimization, IPv6, DHCPv6, and IPv6 DNS.
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).
Configuring an IPv6 over IPv4 GRE Tunnel

Configuring an IPv6 over IPv4 GRE Tunnel

Context

An IPv6 over IPv4 GRE tunnel functions like a permanent link between two IPv6 islands, ensuring stable connection between the two IPv6 networks.

An IPv6 over IPv4 GRE tunnel needs to be configured on both ends of the tunnel.

  • The tunnel source address (or source interface) and destination address must be configured.

  • IPv6 addresses must be configured for tunnel interfaces and routes with the tunnel interfaces as outbound interfaces must be configured so that devices on the two IPv6 networks can communicate through the IPv6 over IPv4 GRE tunnel.

Compared with an IPv6 over IPv4 manual tunnel, an IPv6 over IPv4 GRE tunnel supports the Keepalive function, which enhances data transmission reliability. For the configuration of the Keepalive function, see (Optional) Enabling the Keepalive Detection Function for GRE in the CloudEngine 8800, 7800, 6800, and 5800 Series Switches Configuration Guide - VPN.

Procedure

  1. Run system-view

    The system view is displayed.

  2. On a non-CE6870EI and non-CE6875EI switch, configure the service loopback function.
    1. Run interface eth-trunk trunk-id

      The Eth-Trunk interface view is displayed.

    2. Run service type tunnel

      The interface is specified as the service loopback interface.

    3. Run quit

      Return to the system view.

    4. Run interface interface-type interface-number

      The interface view is displayed.

      NOTE:

      The interface must be idle and does not transmit services.

    5. Run eth-trunk trunk-id

      The interface is added to the specified Eth-Trunk.

    6. Run quit

      Return to the system view.

  3. On the CE6870EI and CE6875EI, run ip tunnel mode gre

    The tunnel mode is set to GRE.

    By default, the tunnel mode is VXLAN.

  4. On the CE6870EI and CE6875EI, run commit

    The configuration is committed.

    NOTE:

    After you run the ip tunnel mode command to set the tunnel mode, restart the device to make the configuration take effect. A forwarding abnormality will occur if you do not restart the device.

  5. On the CE6870EI and CE6875EI, run system-view

    The system view is displayed.

  6. Run interface tunnel interface-number

    A tunnel interface is created.

  7. Run tunnel-protocol gre

    The tunnel mode is set to GRE.

  8. On the CE6870EI and CE6875EI, run binding interface eth-trunk trunk-id

    The interface is bound to the specified Eth-Trunk.

  9. Run source { source-ip-address | interface-type interface-number }

    A source address or source interface is specified for the tunnel.

  10. Run destination dest-ip-address

    A destination address is specified for the tunnel.

  11. Run ipv6 enable

    IPv6 is enabled on the tunnel interface.

  12. Run ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length }

    An IPv6 address is configured for the tunnel interface.

  13. Run quit

    Return to the system view.

  14. Choose either of the following methods to configure routes with tunnel interfaces as outbound interfaces:

    • Run the ipv6 route-static dest-ipv6-address prefix-length tunnel interface-number [ nexthop-ipv6-address ] [ preference preference | tag tag ] * [ bfd enable | track { bfd-session cfg-name | nqa admin-name test-name } ] [ description text ] command to configure static routes.
    • Configure dynamic routes. You can configure dynamic routes using the Interior Gateway Protocol (IGP) or Exterior Gateway Protocol (EGP). For the configuration of dynamic routes, see the CloudEngine 8800, 7800, 6800, and 5800 Series Switches Configuration Guide - IP Routing.

  15. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-05-08

Document ID: EDOC1100004354

Views: 69189

Downloads: 147

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