Configuring an ipv6 manual tunnel, Configuration prerequisites, Configuration guidelines – H3C Technologies H3C S10500 Series Switches User Manual
Page 166: Configuration procedure

155
To do…
Use the command…
Remarks
Shut down the tunnel interface
shutdown
Optional
By default, the interface is up.
Configuring an IPv6 manual tunnel
Configuration prerequisites
Configure IP addresses for interfaces (such as the VLAN interface, and loopback interface) on the device
to ensure normal communication. One of the interfaces will be used as the source interface of the tunnel.
Configuration guidelines
Follow these guidelines when you configure an IPv6 manual tunnel:
•
After a tunnel interface is deleted, all the features configured on the tunnel interface will be deleted.
•
To encapsulate and forward IPv6 packets whose destination address does not belong to the subnet
where the current tunnel interface resides, you must configure a static route or dynamic routing for
forwarding those packets through this tunnel interface. If you configure a static route to that
destination IPv6 address, specify this tunnel interface as the outbound interface, or the peer tunnel
interface address as the next hop. A similar configuration is required at the other tunnel end. If you
configure dynamic routing at both ends, enable the dynamic routing protocol on both tunnel
interfaces. For the detailed configuration, see Layer 3—IP Routing Configuration Guide.
Configuration procedure
Follow these steps to configure an IPv6 manual tunnel:
To do…
Use the command…
Remarks
Enter system view
system-view —
Enable IPv6
ipv6
Required
By default, the IPv6 packet
forwarding function is disabled.
Enter tunnel interface view
interface tunnel number —
ipv6 address { ipv6-address
prefix-length |
ipv6-address/prefix-length }
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
eui-64
Required
Use either command.
By default, no IPv6 global unicast
address or site-local address is
configured for the tunnel interface.