Configuring A Gre Over Ipv4 Tunnel; Configuration Prerequisites; Configuration Procedure - 3Com MSR 50 Series Configuration Manual

3com msr 30-16: software guide
Hide thumbs Also See for MSR 50 Series:
Table of Contents

Advertisement

Configuring a GRE
over IPv4 Tunnel
Configuration
Prerequisites

Configuration Procedure

Interfaces on a device, such as VLAN interfaces, Ethernet interfaces, and loopback
interfaces, are configured with IPv4 addresses and can communicate. These
interfaces can be used as the source of a virtual tunnel interface to ensure the
reachability of the tunnel destination address.
Follow these steps to configure a GRE over IPv4 tunnel:
To do...
Enter system view
Create a tunnel interface and
enter tunnel interface view
Configure an IPv4 address for
the tunnel interface
Set the tunnel mode to GRE
over IPv4
Configure the source address
or interface for the tunnel
interface
Configure the destination
address for the tunnel
interface
Enable GRE keepalive, and set
the interval and the maximum
number of transmission
attempts
Enable the GRE packet
checksum function
Configure the key for the GRE
tunnel interface
Configure a route through the
tunnel
Set the MTU value for the
tunnel interface

Configuring a GRE over IPv4 Tunnel

Use the command...
system-view
interface tunnel
interface-number
ip address ip-address { mask |
mask-length }
tunnel-protocol gre
source { ip-address |
interface-type
interface-number }
destination ip-address
keepalive [ seconds [ times ] ] Optional
gre checksum
gre key key-number
Refer to
"IP Routing
Overview" on page
815.
mtu mtu-size
1593
Remarks
-
Required
Not created by default
Required
Not configured by default
Optional
GRE over IPv4 by default
Note that both ends of a
tunnel must be configured
with the same tunnel mode.
Otherwise, packet delivery will
fail.
Required
By default, no source address
or interface is configured for a
tunnel interface.
Required
By default, no destination
address is configured for a
tunnel interface.
Disabled by default
Optional
Disabled by default
Optional
By default, no key is
configured for a GRE tunnel
interface.
The two ends of a tunnel
must have the same key
configuration.
Optional
Each end of the tunnel must
have a route (static or
dynamic) through the tunnel
to the other end.
Optional

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents