H3C H3C S7500E Series Configuration Examples Download Page 5

On the device, a tunneled packet cannot be directly routed based on its destination address. It is sent to 

a tunnel-type service loopback group, which then delivers the packet to the forwarding module for Layer 
3 forwarding. 

Configuration procedures 

Make sure the gateways can reach each other at IPv4. 

Configuring IPv6 over IPv4 manual tunnels 

 

Configure Device A: 
# Configure an IP address for VLAN-interface 10. 

<DeviceA> system-view 

[DeviceA] vlan 10 

[DeviceA-vlan10] port GigabitEthernet 1/0/1 

[DeviceA-vlan10] quit 

[DeviceA] interface vlan-interface 10 

[DeviceA-Vlan-interface10] ip address 20.1.1.1 24 

[DeviceA-Vlan-interface10] quit 

# Configure IP addresses for other interfaces, as shown in 

Figure 1

. (Details not shown.) 

# Create service loopback group 1, and specify its service type as 

tunnel

[DeviceA] service-loopback group 1 type tunnel 

# Assign GigabitEthernet 1/0/3 to service loopback group 1. 

[DeviceA] interface gigabitethernet 1/0/3 

[DeviceA-GigabitEthernet1/0/3] port service-loopback group 1 

[DeviceA-GigabitEthernet1/0/3] quit 

# Configure an IPv6 over IPv4 manual tunnel interface Tunnel 1. 

[DeviceA] interface tunnel 1 mode ipv6-ipv4 

# Configure an IPv6 address for Tunnel 1. 

[DeviceA-Tunnel1] ipv6 address 3001::1/64 

# Specify VLAN-interface 10 as the source interface of Tunnel 1. 

[DeviceA-Tunnel1] source vlan-interface 10 

# Specify the destination address for Tunnel 1. 

[DeviceA-Tunnel1] destination 30.1.1.1 

[DeviceA-Tunnel1] quit 

# Configure an IPv6 over IPv4 manual tunnel interface Tunnel 2. 

[DeviceA] interface tunnel 2 mode ipv6-ipv4 

# Configure an IPv6 address for Tunnel 2. 

[DeviceA-Tunnel2] ipv6 address 4001::1/64 

# Specify VLAN-interface 10 as the source interface of Tunnel 2. 

[DeviceA-Tunnel2] source Vlan-interface 10 

# Specify the destination address for Tunnel 2. 

[DeviceA-Tunnel2] destination 40.1.1.1 

[DeviceA-Tunnel2] quit 

Summary of Contents for H3C S7500E Series

Page 1: ...right 2015 Hangzhou H3C Technologies Co Ltd All rights reserved No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of Hangzhou H3C Techno...

Page 2: ...tunneling with OSPFv3 1 Network requirements 1 Software version used 2 Configuration restrictions and guidelines 2 Configuration procedures 3 Configuring IPv6 over IPv4 manual tunnels 3 Configuring O...

Page 3: ...of H3C IPv6 over IPv4 manual tunneling and OSPFv3 Example Configuring IPv6 over IPv4 manual tunneling with OSPFv3 Network requirements As shown in Figure 1 in IPv6 networks Device A Device B and Devi...

Page 4: ...1 24 Vlan int20 5001 1 64 Tunnel1 3001 2 64 Device C Vlan int10 40 1 1 1 24 Vlan int20 6001 1 64 Tunnel2 4001 2 64 Software version used This configuration example was created and verified on S7500E C...

Page 5: ...opback group 1 type tunnel Assign GigabitEthernet 1 0 3 to service loopback group 1 DeviceA interface gigabitethernet 1 0 3 DeviceA GigabitEthernet1 0 3 port service loopback group 1 DeviceA GigabitEt...

Page 6: ...ecify VLAN interface 10 as the source interface of Tunnel 1 DeviceB Tunnel1 source vlan interface 10 Specify the destination address for Tunnel 1 DeviceB Tunnel1 destination 20 1 1 1 DeviceB Tunnel1 q...

Page 7: ...spfv3 1 area 0 DeviceA Tunnel2 quit Enable OSPFv3 on VLAN interface 20 DeviceA interface vlan interface 20 DeviceA Vlan interface20 ospfv3 1 area 0 DeviceA Vlan interface20 quit Configure Device B Spe...

Page 8: ...ng statistics for 2001 3 Packets Sent 4 Received 4 Lost 0 0 loss Approximate round trip times in milli seconds Minimum 0ms Maximum 13ms Average 3ms The output shows that the ping operation succeeds Pi...

Page 9: ...lan 10 interface GigabitEthernet1 0 2 port link mode bridge port access vlan 20 interface GigabitEthernet1 0 3 port link mode bridge port service loopback group 1 interface Tunnel1 mode ipv6 ipv4 ospf...

Page 10: ...bridge port access vlan 20 interface GigabitEthernet1 0 3 port link mode bridge port service loopback group 1 interface Tunnel1 mode ipv6 ipv4 ospfv3 1 area 0 0 0 0 source Vlan interface10 destinatio...

Page 11: ...Ethernet1 0 3 port link mode bridge port service loopback group 1 interface Tunnel2 mode ipv6 ipv4 ospfv3 1 area 0 0 0 0 source Vlan interface10 destination 20 1 1 1 ipv6 address 4001 2 64 Related doc...

Reviews: