5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/19/31 ms
Configuring a GRE over IPv4 Tunnel
EB boards and SD boards support only the GRE over IPv4 Tunnel.
Configuration Prerequisites
Interfaces on a device, such as VLAN 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.
Configuration Procedure
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
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
1-38
Remarks
—
Required
By default, a device has no
tunnel interface.
Required
By default, a tunnel interface
has no IPv4 address.
Optional
By default, the tunnel is a GRE
over IPv4 tunnel
Note that you need to configure
the same tunnel mode on both
ends of a tunnel. 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.
Need help?
Do you have a question about the S7906E and is the answer not in the manual?