Configuration Prerequisites
Configure IP addresses for interfaces (such as the VLAN interface, and loopback interface) on the
device to ensure normal communication.
Specify one of the above interfaces as the source interface of the tunnel.
Ensure reachability between the tunnel source and destination addresses.
Configuration Procedure
Follow these steps to configure an IPv6 over IPv6 tunnel:
To do...
Enter system view
Enable IPv6
Enter tunnel interface view
Configure an
IPv6 global
unicast
Configure
address or
an IPv6
site-local
address for
address
the tunnel
interface
Configure an
IPv6 link-local
address
Specify the IPv6 over IPv6
tunnel mode
Configure a source address
or interface for the tunnel
interface
Configure the destination
address for the tunnel
interface
Use the command...
system-view
ipv6
Interface tunnel number
ipv6 address { ipv6-address
prefix-length |
ipv6-address/prefix-length }
ipv6 address
ipv6-address/prefix-length
eui-64
ipv6 address auto link-local
ipv6 address ipv6-address
link-local
tunnel-protocol ipv6-ipv6
source { ipv6-address |
interface-type
interface-number }
destination ipv6-address
1-33
Remarks
—
Required
By default, the IPv6 packet
forwarding function is disabled.
—
Required
Use one of the commands.
By default, no IPv6 address is
configured for the tunnel interface.
Optional
By default, the tunnel is a GRE
over IPv4 tunnel. The same tunnel
mode should be configured at both
ends of the tunnel. Otherwise,
packet delivery will fail.
Required
By default, no source address or
interface is configured for the
tunnel.
Required
By default, no destination address
is configured for the tunnel.