Configuration Procedure - HPE FlexNetwork 10500 Series Configuration Manual

Layer 3-ip services
Table of Contents

Advertisement

Configuration procedure

To configure a GRE/IPv4 tunnel:
Step
1.
Enter system view.
2.
Create a GRE tunnel
interface, and specify the
tunnel mode as GRE/IPv4.
3.
Configure an IPv4 or IPv6
address for the tunnel
interface.
4.
Configure a source address
or source interface for the
tunnel interface.
5.
Configure a destination
address for the tunnel
interface.
6.
(Optional.) Enable GRE
keepalive, and set the
keepalive interval and
keepalive number.
7.
(Optional.) Set the DF bit for
encapsulated packets.
8.
Return to system view.
Command
system-view
interface tunnel
interface-number mode gre
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."
source { ip-address |
interface-type interface-number }
destination ip-address
keepalive [ interval [ times ] ]
tunnel dfbit enable
quit
274
Remarks
N/A
By default, no tunnel interfaces
exist.
You must configure the same
tunnel mode on both ends of a
tunnel. Otherwise, packet delivery
might fail.
By default, 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.
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.
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.
By default, GRE keepalive is
disabled.
By default, the DF bit is not set,
allowing encapsulated packets to
be fragmented.
N/A

Advertisement

Table of Contents
loading

Table of Contents