1-38
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…
Use the command…
Remarks
Enter system view
system-view
—
Create a tunnel interface and
enter tunnel interface view
interface tunnel
interface-number
Required
By default, a device has no
tunnel interface.
Configure an IPv4 address for
the tunnel interface
ip address ip-address
{
mask
|
mask-length
}
Required
By default, a tunnel interface
has no IPv4 address.
Set the tunnel mode to GRE
over IPv4
tunnel-protocol gre
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.
Configure the source address
or interface for the tunnel
interface
source
{
ip-address
|
interface-type
interface-number
}
Required
By default, no source address
or interface is configured for a
tunnel interface.
Configure the destination
address for the tunnel interface
destination ip-address
Required
By default, no destination
address is configured for a
tunnel interface.
Summary of Contents for S7902E
Page 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1 ...
Page 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist ...
Page 598: ...ii ...
Page 1757: ...4 9 ...
Page 1770: ...6 4 ...
Page 2017: ...2 11 Figure 2 3 SFTP client interface ...
Page 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002 ...