H3C S7500E Series Ethernet Switches Operation Manual
Operation Manual – IPv6 Configuration
H3C S7500E Series Ethernet Switches Chapter 3 Tunneling Configuration
3-10
3.4 Configuring 6to4 Tunnel
3.4.1 Configuration Prerequisites
IP addresses are configured for interfaces such as VLAN interface and loopback
interface on the device. Such an interface can serve as the source interface of the
tunnel to ensure that the tunnel destination address is reachable.
3.4.2 Configuration Procedure
Follow these steps to configure a 6to4 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.
Create a tunnel interface
and enter tunnel interface
view
interface tunnel number
Required
By default, there is no
tunnel interface on the
device.
ipv6 address
{ ipv6-address prefix-length
|
ipv6-address/prefix-length }
Configure an
IPv6 global
unicast
address or
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.
ipv6 address auto
link-local
Configure
an IPv6
address for
the tunnel
interface
Configure an
IPv6
link-local
address
ipv6 address ipv6-address
link-local
Optional
By default, a link-local
address will
automatically be
generated when an
IPv6 global unicast
address or site-local
address is configured.
Set a 6to4 tunnel
tunnel-protocol ipv6-ipv4
6to4
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.