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

257
[RouterA-Tunnel1] source 2002::11:1
# Specify the IP address of GigabitEthernet 2/0/2 of Router B as the destination address for
interface Tunnel 1.
[RouterA-Tunnel1] destination 2002::22:1
[RouterA-Tunnel1] quit
# Configure a static route destined for the IPv6 network Group 2 through interface Tunnel 1.
[RouterA] ipv6 route-static 2002:3:: 64 tunnel 1
Configure Router B:
# Enable IPv6.
<RouterB> system-view
[RouterB] ipv6
# Specify an IPv6 address for GigabitEthernet 2/0/1.
[RouterB] interface gigabitethernet 2/0/1
[RouterB-GigabitEthernet2/0/1] ipv6 address 2002:3::1 64
[RouterB-GigabitEthernet2/0/1] quit
# Specify an IPv6 address for GigabitEthernet 2/0/2, the physical interface of the tunnel.
[RouterB] interface gigabitethernet 2/0/2
[RouterB-GigabitEthernet2/0/2] ipv6 address 2002::22:1 64
[RouterB-GigabitEthernet2/0/2] quit
# Create interface Tunnel 2.
[RouterB] interface tunnel 2
# Specify an IPv6 address for interface Tunnel 2.
[RouterB-Tunnel2] ipv6 address 3001::1:2 64
# Configure the tunnel encapsulation mode as IPv6 over IPv6.
[RouterB-Tunnel2] tunnel-protocol ipv6-ipv6
# Specify the IP address of GigabitEthernet 2/0/2 as the source address for interface Tunnel 2.
[RouterB-Tunnel2] source 2002::22:1
# Specify the IP address of GigabitEthernet 2/0/2 of Router A as the destination address for
interface Tunnel 2.
[RouterB-Tunnel2] destination 2002::11:1
[RouterB-Tunnel2] quit
# Configure a static route destined for the IPv6 network Group 1 through interface Tunnel 2.
[RouterB] ipv6 route-static 2002:1:: 64 tunnel 2
Verifying the configuration
# Display the status of the tunnel interfaces on Router A and Router B, respectively.
[RouterA] display ipv6 interface tunnel 1
Tunnel1 current state :UP
Line protocol current state :UP
IPv6 is enabled, link-local address is FE80::2013:1
Global unicast address(es):
3001::1:1, subnet is 3001::/64
Joined group address(es):
FF02::1:FF13:1
FF02::1:FF01:1
FF02::1:FF00:0