R0106-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V7)
295
Figure 119 Network diagram
Configuration procedure
Make sure Router A and Router B can reach each other through IPv6.
• Configure Router A:
# Specify an IPv6 address for GigabitEthernet 2/1/1.
<RouterA> system-view
[RouterA] interface gigabitethernet 2/1/1
[RouterA-GigabitEthernet2/1/1] ipv6 address 2002:1::1 64
[RouterA-GigabitEthernet2/1/1] quit
# Specify an IPv6 address for Serial 2/2/0, which is the physical interface of the tunnel.
[RouterA] interface serial 2/2/0
[RouterA-Serial2/2/0] ipv6 address 2001::11:1 64
[RouterA-Serial2/2/0] quit
# Create an IPv6 tunnel interface tunnel 1.
[RouterA] interface tunnel 1 mode ipv6
# Specify an IPv6 address for the tunnel interface.
[RouterA-Tunnel1] ipv6 address 3001::1:1 64
# Specify the IP address of Serial 2/2/0 as the source address for the tunnel interface.
[RouterA-Tunnel1] source 2001::11:1
# Specify the IP address of Serial 2/2/1 on Router B as the destination address for the tunnel
interface.
[RouterA-Tunnel1] destination 2002::22:1
[RouterA-Tunnel1] quit
# Configure a static route destined for the IPv6 network group 2 through the tunnel interface.
[RouterA] ipv6 route-static 2002:3:: 64 tunnel 1
• Configure Router B:
# Specify an IPv6 address for GigabitEthernet 2/1/1.
<RouterB> system-view
[RouterB] interface gigabitethernet 2/1/1
[RouterB-GigabitEthernet2/1/1] ipv6 address 2002:3::1 64
[RouterB-GigabitEthernet2/1/1] quit
# Specify an IPv6 address for Serial 2/2/1, which is the physical interface of the tunnel.
[RouterB] interface serial 2/2/1
[RouterB-Serial2/2/1] ipv6 address 2002::22:1 64
[RouterB-Serial2/2/1] quit
# Create an IPv6 tunnel interface tunnel 2.