beautypg.com

Configuration example, Network requirements, Configuration procedure – H3C Technologies H3C S12500-X Series Switches User Manual

Page 159: Configuring tcp mss for an interface

background image

148

Step Command

Remarks

4.

Configure a source address or
source interface for the tunnel

interface.

source { ip-address |
interface-type interface-number }

By default, no source address
or source interface is
configured for the tunnel

interface.
The specified source address or

the primary IP address of the
specified source interface is

used as the source IP address of

tunneled packets.

5.

(Optional.) Set the DF bit for

tunneled packets.

tunnel dfbit enable

The DF bit is not set for tunneled
packets by default.

6.

Return to system view.

quit

N/A

7.

(Optional.) Enable dropping of

IPv6 packets using
IPv4-compatible IPv6 addresses.

tunnel discard
ipv4-compatible-packet

The default setting is disabled.

Configuration example

Network requirements

As shown in

Figure 57

, configure an ISATAP tunnel between the switch and the ISATAP host so the ISATAP

host in the IPv4 network can access the IPv6 network.

Figure 57 Network diagram

Configuration procedure

Configure the switch:
# Specify an IPv6 address for VLAN-interface 100.

system-view

[Switch] interface vlan-interface 100

[Switch-Vlan-interface100] ipv6 address 3001::1/64

[Switch-Vlan-interface100] quit

# Specify an IPv4 address for VLAN-interface 101.

[Switch] interface vlan-interface 101

[Switch-Vlan-interface101] ip address 1.1.1.1 255.0.0.0

[Switch-Vlan-interface101] quit

# Create service loopback group 1 and specify its service type as tunnel.

[Switch] service-loopback group 1 type tunnel

This manual is related to the following products: