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 12800 and 12800E V200R005C00

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 12800 and 12800E Series Switches Configuration Guide - VPN.

On a tunnel, to ensure priorities of different services, configure a DiffServ mode so that packets in different queues are scheduled based on CoS values. For the detailed configuration procedure, see Configuring Priority Mapping on a Tunnel in the CloudEngine 12800 and 12800E Series Switches Configuration Guide - VPN.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ip tunnel mode gre

    The tunnel mode is set to GRE.

    By default, the tunnel mode is VXLAN.

    Only the Admin-VS in port mode supports this command, and all VSs in group mode support this command.

  3. 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 restart only some cards or install a new card without restarting the device.

  4. Run system-view

    The system view is displayed.

  5. Run interface tunnel interface-number

    A tunnel interface is created.

  6. Run tunnel-protocol gre

    The tunnel mode is set to GRE.

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

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

  8. Run destination [ vpn-instance vpn-instance-name ] dest-ip-address

    A destination address is specified for the tunnel.

  9. Run ipv6 enable

    IPv6 is enabled on the tunnel interface.

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

    An IPv6 address is configured for the tunnel interface.

  11. Run quit

    Return to the system view.

  12. 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 12800 and 12800E Series Switches Configuration Guide - IP Routing.

  13. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-04-18

Document ID: EDOC1100039535

Views: 43098

Downloads: 25

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