1-42
To do…
Use the command…
Remarks
Create a tunnel interface and
enter tunnel interface view
interface tunnel
interface-number
Required
By default, there is no tunnel
interface on a device.
Configure an IPv4 address for
the tunnel interface
ip address ip-address
{
mask
|
mask-length
}
Required
By default, no IPv4 address is
configured for a tunnel
interface.
Set the tunnel mode to GRE
over IPv6.
tunnel-protocol
gre
ipv6
Required
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
{
ipv6-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
ipv6-address
Required
By default, no destination
address is configured for a
tunnel interface.
Configure a route through the
tunnel
Refer to the
IP Routing Volume
.
Optional
Each end of the tunnel must
have a route (static or dynamic)
through the tunnel to the other
end.
Note that:
z
If you delete a tunnel interface, the functions configured on this tunnel interface will be removed as
well.
z
The source address and destination address of a tunnel uniquely identify a path. They must be
configured at both ends of the tunnel and the source address at one end must be the destination
address at the other end and vice versa.
z
Tunnel interfaces using the same encapsulation protocol must have different source addresses
and destination addresses.
z
If you configure a source interface for a tunnel interface, the tunnel interface takes the primary IP
address of the source interface as its source address.
z
When configuring a route through the tunnel, you can configure a static route, using the address of
the network segment the original packet is destined for as its destination address and the address
of the peer tunnel interface as its next hop. Or, you can enable a dynamic routing protocol on both
the tunnel interface and the router interface connecting the private network, so that the dynamic
routing protocol can establish a routing entry that allows the tunnel to forward packets through the
tunnel. It is not allowed to set up a static route whose destination address is in the subnet of the
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 ...