103
destination
Syntax
View
Parameter
Description
Related command:
Example
GRE C
ONFIGURATION
destination { ip-address | ipv6-address }
undo destination
Tunnel interface view
ip-address: Destination IPv4 address for a tunnel interface.
Ipv6-address: Destination IPv6 address for a tunnel interface.
Use the
command to specify the destination address for a tunnel
destination
interface.
Use the
undo destination
By default, no destination address is configured for a tunnel interface.
Note that:
The destination address of a tunnel interface is the address of the peer
■
interface receiving packets. It is usually set to the source address of the peer
tunnel interface.
Two or more tunnel interfaces using the same encapsulation protocol must
■
have different source addresses and destination addresses.
interface tunneland source.
# Set Serial 2/0 (193.101.1.1) of Sysname1 and Serial 2/0 (192.100.1.1) of
Sysname2 as the source/destination interface and destination/source interface of
the interfaces of the tunnel between the two devices, respectively.
<Sysname1> system-view
[Sysname1] interface tunnel 0
[Sysname1-Tunnel0] source 193.101.1.1
[Sysname1-Tunnel0] destination 192.100.1.1
<Sysname2> system-view
[Sysname2] interface tunnel 1
[Sysname2-Tunnel1] source 192.100.1.1
[Sysname2-Tunnel1] destination 193.101.1.1
C
command to remove the configuration.
OMMANDS