H3C MSR 2600 Configuration Manual page 262

Layer 3
Hide thumbs Also See for MSR 2600:
Table of Contents

Advertisement

[RouterA] interface ethernet 1/2
[RouterA-Ethernet1/2] ip address 192.168.100.1 255.255.255.0
[RouterA-Ethernet1/2] quit
# Specify an IPv6 address for Ethernet 1/1.
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] ipv6 address 3002::1 64
[RouterA-Ethernet1/1] quit
# Configure an IPv6 over IPv4 manual tunnel interface tunnel 0.
[RouterA] interface tunnel 0 mode ipv6-ipv4
# Specify an IPv6 address for the tunnel interface.
[RouterA-Tunnel0] ipv6 address 3001::1/64
# Specify Ethernet1/2 as the source interface of the tunnel interface.
[RouterA-Tunnel0] source ethernet 1/2
# Specify the destination address for the tunnel interface as the IP address of Ethernet1/2 on
Router B.
[RouterA-Tunnel0] destination 192.168.50.1
[RouterA-Tunnel0] quit
# Configure a static route destined for IPv6 network 2 through Tunnel 0 on Router A.
[RouterA] ipv6 route-static 3003:: 64 tunnel 0
Configure Router B:
# Specify an IPv4 address for Ethernet 1/2.
<RouterB> system-view
[RouterB] interface ethernet 1/2
[RouterB-Ethernet1/2] ip address 192.168.50.1 255.255.255.0
[RouterB-Ethernet1/2] quit
# Specify an IPv6 address for Ethernet 1/1.
[RouterB] interface ethernet 1/1
[RouterB-Ethernet1/1] ipv6 address 3003::1 64
[RouterB-Ethernet1/1] quit
# Configure an IPv6 over IPv4 manual tunnel interface tunnel 0.
[RouterB] interface tunnel 0 mode ipv6-ipv4
# Specify an IPv6 address for the tunnel interface.
[RouterB-Tunnel0] ipv6 address 3001::2/64
# Specify Ethernet1/2 as the source interface of the tunnel interface.
[RouterB-Tunnel0] source ethernet 1/2
# Specify the destination address for the tunnel interface as the IP address of Ethernet1/2 on
Router A.
[RouterB-Tunnel0] destination 192.168.50.1
[RouterB-Tunnel0] quit
# Configure a static route destined for IPv6 network 1 through Tunnel 0 on Router B.
[RouterB] ipv6 route-static 3002:: 64 tunnel 0
Verifying the configuration
# Use the display ipv6 interface command to view tunnel interface status on Router A and Router B. The
output shows that the interface tunnel 0 is up. (Details not shown.)
247

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents