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


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


CLI-based Configuration Guide - IP Service

AR500, AR510, AR531, AR550, AR1500, and AR2500 V200R010

This document describes the concepts and configuration procedures of IP Service features on the device, and provides the 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).
Configuring an Automatic IPv6 over IPv4 Tunnel

Configuring an Automatic IPv6 over IPv4 Tunnel


When configuring an automatic IPv6 over IPv4 tunnel, pay attention to the following points:

  • You must create a tunnel interface before setting tunnel parameters.

  • You are advised to set the tunnel number to be the same as the number of the source physical interface of the tunnel when the source interface of the tunnel is specified as a physical interface.

  • You only need to specify the source address of the tunnel when an automatic tunnel is configured. The destination address of the tunnel is obtained from the destination address of the original IPv6 packet. In addition, the source addresses of an automatic tunnel must be unique.

  • Ensure that the IPv6 address configured for the tunnel interface is compatible with an IPv4 address. In the IPv6 address, the high-order 96 bits are all 0s, and last 32 bits are the IPv4 address configured for the IPv4 network-side interface.


  1. Run system-view

    The system view is displayed.

  2. Run interface tunnel interface-number

    A tunnel interface is created.

  3. Run tunnel-protocol ipv6-ipv4 auto-tunnel

    The tunnel mode is set to automatic.

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

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

  5. Run ipv6 enable

    The IPv6 function is enabled on the interface.

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

    An IPv6 address is configured for the tunnel interface.

Updated: 2019-05-20

Document ID: EDOC1100034231

Views: 83241

Downloads: 55

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