Configuring a gre over ipv6 tunnel, Verifying the configuration – H3C Technologies H3C S12500-X Series Switches User Manual
Page 175
164
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
interface is configured for a tunnel
interface.
If you configure a source address
for a tunnel interface, the tunnel
interface uses the source address
as the source address of the
encapsulated packets.
If you configure a source interface
for a tunnel interface, the tunnel
interface uses the primary IP
address of the source interface as
the source address of the
encapsulated packets.
5.
Configure a destination
address for the tunnel
interface.
destination ip-address
By default, no destination address
is configured for a tunnel interface.
The destination address is the
address of the physical interface
that the tunnel remote end uses to
receive packets from the GRE
tunnel.
The tunnel local end uses this
address as the destination address
of the encapsulated packets.
6.
(Optional.) Enable GRE
keepalive and set the
keepalive interval and
keepalive number.
keepalive [ interval [ times ] ]
By default, GRE keepalive is
disabled.
7.
(Optional.) Set the DF
bit for encapsulated
packets.
tunnel dfbit enable
By default, the DF bit is not set,
allowing encapsulated packets to
be fragmented.
8.
Return to system view.
quit N/A
9.
(Optional.) Configure
the device to discard
IPv6 packets with
IPv4-compatible IPv6
addresses.
tunnel discard ipv4-compatible-packet
By default, the device does not
discard such IPv6 packets.
Configuring a GRE over IPv6 tunnel
Follow these guidelines when you configure a GRE over IPv6 tunnel: