R21xx-HP FlexFabric 11900 Layer 3 IP Services Configuration Guide

203
Ste
p
Command
Remarks
3. Configure an IPv4 or
IPv6 address for the
tunnel interface.
For information about how to assign an
IPv4 address to an interface, see
"Configuring IP addressing."
For information about how to
assign an
IPv6 address to an interface, see
"Configuring basic IPv6 settings."
By d
efault, no IPv4 or IPv6 address
is configured for a tunnel interface.
When the passenger protocol is
IPv4, configure an IPv4 address for
the tunnel interface. When the
passenger protocol is IPv6,
configure an IPv6 address for the
tunnel interface.
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.