Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual
Page 177
31
Configuration procedure
NOTE:
Make sure that Device A and Device B are reachable to each other.
•
Configuration on Device A
# Enable IPv6.
[DeviceA] ipv6
# Configure an IPv4 address for GigabitEthernet 1/1.
[DeviceA] interface gigabitethernet 1/1
[DeviceA-GigabitEthernet1/1] ip address 30.1.1.1 255.255.255.0
[DeviceA-GigabitEthernet1/1] quit
# Configure an IPv6 address for GigabitEthernet 2/0 (the physical interface of the tunnel).
[DeviceA] interface gigabitethernet 2/0
[DeviceA-GigabitEthernet2/0] ipv6 address 2002::1:1 64
[DeviceA-GigabitEthernet2/0] quit
# Create the interface tunnel 1.
[DeviceA] interface tunnel 1
# Configure an IPv4 address for the interface tunnel 1.
[DeviceA-Tunnel1] ip address 30.1.2.1 255.255.255.0
# Configure the tunnel encapsulation mode.
[DeviceA-Tunnel1] tunnel-protocol ipv4-ipv6
# Configure a source address for the interface tunnel 1 (IP address of GigabitEthernet 2/0).
[DeviceA-Tunnel1] source 2002::1:1
# Configure a destination address for the interface tunnel 1 (IP address of GigabitEthernet 2/1 of Device
B).
[DeviceA-Tunnel1] destination 2002::2:1
[DeviceA-Tunnel1] quit
# Configure a static route from Device A through the interface tunnel 1 to Group 2.
[DeviceA] ip route-static 30.1.3.0 255.255.255.0 tunnel 1
•
Configuration on Device B
# Enable IPv6.
[DeviceB] ipv6
# Configure an IPv4 address for GigabitEthernet 1/1.
[DeviceB] interface gigabitethernet 1/1
[DeviceB-GigabitEthernet1/1] ip address 30.1.3.1 255.255.255.0
[DeviceB-GigabitEthernet1/1] quit
# Configure an IPv6 address for GigabitEthernet 2/1 (the physical interface of the tunnel).
[DeviceB] interface gigabitethernet 2/1
[DeviceB-GigabitEthernet2/1] ipv6 address 2002::2:1 64
[DeviceB-GigabitEthernet2/1] quit