
Operation Manual – IPv6
H3C S3610&S5510 Series Ethernet Switches
Chapter 3 Tunneling Configuration
3-15
[SwitchB-Ethernet1/0/2] quit
# Configure an automatic IPv4-comptabile IPv6 tunnel.
[SwitchB] interface Tunnel 0
[SwitchB-Tunnel0] ipv6 address ::2.1.1.2/96
[SwitchB-Tunnel0] source Vlan-interface 100
[SwitchB-Tunnel0] tunnel-protocol ipv6-ipv4 auto-tunnel
# Configure service-loop group 2 to be referenced by the tunnel in tunnel interface view.
[SwitchB-Tunnel0] aggregation-group 2
IV. Configuration verification
After the above configurations, ping the IPv4-compatible IPv6 address of the peer
tunnel interface from one router.
# Ping the IPv4-compatible IPv6 address of the tunnel peer from Router A.
[SwitchA] ping ipv6 ::2.1.1.2
PING ::2.1.1.2 : 56 data bytes, press CTRL_C to break
Reply from ::2.1.1.2
bytes=56 Sequence=1 hop limit=255 time = 219 ms
Reply from ::2.1.1.2
bytes=56 Sequence=2 hop limit=255 time = 15 ms
Reply from ::2.1.1.2
bytes=56 Sequence=3 hop limit=255 time = 31 ms
Reply from ::2.1.1.2
bytes=56 Sequence=4 hop limit=255 time = 31 ms
Reply from ::2.1.1.2
bytes=56 Sequence=5 hop limit=255 time = 32 ms
--- ::2.1.1.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 15/65/219 ms
3.5 Configuring 6to4 Tunnel
3.5.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.