526 CHAPTER 40: TUNNELING CONFIGURATION
Tunneling 
Configuration Task 
List
Complete the following tasks to configure the tunneling feature:
Configuring IPv6 
Manual Tunnel
Configuration
Prerequisites
IP addresses are configured for interfaces such as the VLAN interface and loopback 
interface on the device. These interfaces serve as the source interfaces of tunnel 
interfaces to ensure that the tunnel destination addresses are reachable.
Configuration Procedure Follow these steps to configure an IPv6 manual tunnel:
Task Remarks 
Configuring IPv6 over IPv4 GRE tunnel  “Configuring IPv6 Manual Tunnel” on 
page 526 
Optional 
“Configuring 6to4 Tunnel” on page 530  Optional 
“Configuring ISATAP Tunnel” on page 
535 
Optional
To do… Use the command…  Remarks 
Enter system view system-view - 
Enable IPv6 ipv6 Required
By default, the IPv6 packet 
forwarding function is 
disabled. 
Create a tunnel interface and enter 
tunnel interface view
interface tunnel number Required
By default, there is no 
tunnel interface on the 
device. 
Configure an 
IPv6 address 
for the tunnel 
interface 
Configure a global 
unicast IPv6 address 
or a site-local 
address 
ipv6 address 
{ ipv6-address 
prefix-length | 
ipv6-address/prefix-length
} 
Required
Use any command.
By default, no IPv6 global 
unicast address or 
site-local address is 
configured for the tunnel 
interface. 
ipv6 address 
ipv6-address/prefix-length 
eui-64
Configure a 
link-local IPv6 
address 
ipv6 address auto 
link-local 
Optional
A link-local address will 
automatically be created 
when an IPv6 global 
unicast address or 
site-local address is 
configured. 
ipv6 address 
ipv6-address link-local
Specify the IPv6 manual tunnel mode tunnel-protocol 
ipv6-ipv4 
Required
By default, the tunnel 
mode is manual. The same 
tunnel type should be 
configured at both ends of 
the tunnel. Otherwise, 
packet delivery will fail.