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

Page 182

Advertising
background image

36

[DeviceA-Tunnel1] quit

# Configure a static route from Device A through the interface tunnel 1 to Group 2.

[DeviceA] ipv6 route-static 2002:3:: 64 tunnel 1

Configuration on Device B

# Enable IPv6.

<DeviceB> system-view

[DeviceB] ipv6

# Configure an IPv6 address for GigabitEthernet 1/1.

[DeviceB] interface gigabitethernet 1/1

[DeviceB-GigabitEthernet1/1] ipv6 address 2002:3::1 64

[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::22:1 64

[DeviceB-GigabitEthernet2/1] quit

# Create the interface tunnel 2.

[DeviceB] interface tunnel 2

# Configure an IPv6 address for the interface tunnel 2.

[DeviceB-Tunnel2] ipv6 address 3001::1:2 64

# Configure the tunnel encapsulation mode.

[DeviceB-Tunnel2] tunnel-protocol ipv6-ipv6

# Configure a source address for the interface tunnel 2 (IP address of GigabitEthernet 2/1).

[DeviceB-Tunnel2] source 2002::22:1

# Configure a destination address for the interface tunnel 2 (IP address of GigabitEthernet 2/0 of Device
A).

[DeviceB-Tunnel2] destination 2002::11:1

[DeviceB-Tunnel2] quit

# Configure a static route from Device B through the interface tunnel 2 to Group 1.

[DeviceB] ipv6 route-static 2002:1:: 64 tunnel 2

Configuration verification

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

respectively.

[DeviceA] display ipv6 interface tunnel 1 verbose

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

FF02::2

FF02::1

Advertising
This manual is related to the following products: