Configuration procedure, Configuration verification – H3C Technologies H3C SecPath F1000-E User Manual

Page 161

Advertising
background image

15

Figure 8 Network diagram for an automatic IPv4-compatible IPv6 tunnel

Configuration procedure

NOTE:

Make sure that Device A and Device B are reachable to each other.

Configuration on Device A

# Enable IPv6.

<DeviceA> system-view

[DeviceA] ipv6

# Configure an IPv4 address for GigabitEthernet 1/1.

[DeviceA] interface gigabitethernet 1/1

[DeviceA-GigabitEthernet1/1] ip address 192.168.100.1 255.255.255.0

[DeviceA-GigabitEthernet1/1] quit

# Configure an automatic IPv4-compatible IPv6 tunnel.

[DeviceA] interface tunnel 0

[DeviceA-Tunnel0] ipv6 address ::192.168.100.1/96

[DeviceA-Tunnel0] source gigabitethernet 1/1

[DeviceA-Tunnel0] tunnel-protocol ipv6-ipv4 auto-tunnel

Configuration on Device B

# Enable IPv6.

<DeviceB> system-view

[DeviceB] ipv6

# Configure an IPv4 address for GigabitEthernet 1/1.

[DeviceB] interface gigabitethernet 1/1

[DeviceB-GigabitEthernet1/1] ip address 192.168.50.1 255.255.255.0

[DeviceB-GigabitEthernet1/1] quit

# Configure an automatic IPv4-compatible IPv6 tunnel.

[DeviceB] interface tunnel 0

[DeviceB-Tunnel0] ipv6 address ::192.168.50.1/96

[DeviceB-Tunnel0] source gigabitethernet 1/1

[DeviceB-Tunnel0] tunnel-protocol ipv6-ipv4 auto-tunnel

Configuration verification

After the above configurations, display the status of the tunnel interfaces on Device A and Device B,

respectively.

[DeviceA] display ipv6 interface tunnel 0 verbose

Advertising
This manual is related to the following products: