beautypg.com

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

Page 158

background image

12

[DeviceB] ipv6

# Configure an IPv4 address for GigabitEthernet 1/2.

[DeviceB] interface gigabitethernet 1/2

[DeviceB-GigabitEthernet1/2] ip address 192.168.50.1 255.255.255.0

[DeviceB-GigabitEthernet1/2] quit

# Configure an IPv6 address for GigabitEthernet 1/1.

[DeviceB] interface gigabitethernet 1/1

[DeviceB-GigabitEthernet1/1] ipv6 address 3003::1 64

[DeviceB-GigabitEthernet1/1] quit

# Configure an IPv6 manual tunnel.

[DeviceB] interface tunnel 0

[DeviceB-Tunnel0] ipv6 address 3001::2/64

[DeviceB-Tunnel0] source gigabitethernet 1/2

[DeviceB-Tunnel0] destination 192.168.100.1

[DeviceB-Tunnel0] tunnel-protocol ipv6-ipv4

[DeviceB-Tunnel0] quit

# Configure a static route to IPv6 Group 1 through tunnel 0 on Device B.

[DeviceB] ipv6 route-static 3002:: 64 tunnel 0

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

Tunnel0 current state :UP

Line protocol current state :UP

IPv6 is enabled, link-local address is FE80::C0A8:6401

Global unicast address(es):

3001::1, subnet is 3001::/64

Joined group address(es):

FF02::1:FF00:0

FF02::1:FF00:1

FF02::1:FFA8:6401

FF02::2

FF02::1

MTU is 1480 bytes

ND reachable time is 30000 milliseconds

ND retransmit interval is 1000 milliseconds

Hosts use stateless autoconfig for addresses

IPv6 Packet statistics:

InReceives: 55

...

[DeviceB] display ipv6 interface tunnel 0 verbose

Tunnel0 current state :UP

Line protocol current state :UP

IPv6 is enabled, link-local address is FE80::C0A8:3201

Global unicast address(es):

3001::2, subnet is 3001::/64