R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide

236
Configuration procedure
Before configuring an automatic IPv4-compatible IPv6 tunnel, make sure Router A and Router B can
reach each other through IPv4.
Configure Router A:
# Enable IPv6.
<RouterA> system-view
[RouterA] ipv6
# Specify an IPv4 address for GigabitEthernet 2/0/1.
[RouterA] interface gigabitethernet 2/0/1
[RouterA-GigabitEthernet2/0/1] ip address 192.168.100.1 255.255.255.0
[RouterA-GigabitEthernet2/0/1] quit
# Configure an automatic IPv4-compatible IPv6 tunnel.
[RouterA] interface tunnel 0
[RouterA-Tunnel0] ipv6 address ::192.168.100.1/96
[RouterA-Tunnel0] source gigabitethernet 2/0/1
[RouterA-Tunnel0] tunnel-protocol ipv6-ipv4 auto-tunnel
Configure Router B:
# Enable IPv6.
<RouterB> system-view
[RouterB] ipv6
# Specify an IPv4 address for GigabitEthernet 2/0/1.
[RouterB] interface gigabitethernet 2/0/1
[RouterB-GigabitEthernet2/0/1] ip address 192.168.50.1 255.255.255.0
[RouterB-GigabitEthernet2/0/1] quit
# Configure an automatic IPv4-compatible IPv6 tunnel.
[RouterB] interface tunnel 0
[RouterB-Tunnel0] ipv6 address ::192.168.50.1/96
[RouterB-Tunnel0] source gigabitethernet 2/0/1
[RouterB-Tunnel0] tunnel-protocol ipv6-ipv4 auto-tunnel
Verifying the configuration
# Display the status of the tunnel interfaces on Router A and Router B, respectively.
[RouterA-Tunnel0] display ipv6 interface tunnel 0
Tunnel0 current state :UP
Line protocol current state :UP
IPv6 is enabled, link-local address is FE80::C0A8:6401
Global unicast address(es):
::192.168.100.1, subnet is ::/96
Joined group address(es):
FF02::1:FFA8:6401
FF02::1:FF00:0
FF02::2
FF02::1
MTU is 1480 bytes
ND reachable time is 30000 milliseconds
ND retransmit interval is 1000 milliseconds