Configuration procedure, Disabling forwarding icmp fragments – H3C Technologies H3C S12500-X Series Switches User Manual
Page 166
155
Figure 59 Network diagram
Configuration procedure
Make sure Switch A and Switch B have the corresponding VLAN interfaces created and can reach each
other through IPv6.
•
Configure Switch A:
# Specify an IPv4 address for VLAN-interface 100.
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] ip address 30.1.1.1 255.255.255.0
[SwitchA-Vlan-interface100] quit
# Specify an IPv6 address for VLAN-interface 101, which is the physical interface of the tunnel.
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] ipv6 address 2001::1:1 64
[SwitchA-Vlan-interface101] quit
# Create service loopback group 1 and specify its service type as tunnel.
[SwitchA] service-loopback group 1 type tunnel
# Assign Ten-GigabitEthernet 1/0/3 to service loopback group 1.
[SwitchA] interface Ten-GigabitEthernet 1/0/3
[SwitchA-Ten-GigabitEthernet1/0/3] port service-loopback group 1
[SwitchA-Ten-GigabitEthernet1/0/3] quit
# Create an IPv6 tunnel interface tunnel 1.
[SwitchA] interface tunnel 1 mode ipv6
# Specify an IPv4 address for the tunnel interface.
[SwitchA-Tunnel1] ip address 30.1.2.1 255.255.255.0
# Specify the IP address of VLAN-interface 101 as the source address for the tunnel interface.
[SwitchA-Tunnel1] source 2001::1:1
# Specify the IP address of VLAN-interface 101 on Switch B as the destination address for the
tunnel interface.
[SwitchA-Tunnel1] destination 2002::2:1
[SwitchA-Tunnel1] quit
# Configure a static route destined for IPv4 network 2 through the tunnel interface.
[SwitchA] ip route-static 30.1.3.0 255.255.255.0 tunnel 1
•
Configure Switch B:
# Specify an IPv4 address for VLAN-interface 100.
[SwitchB] interface vlan-interface 100