68
destination
Syntax
View
Parameter
Description
Related command:
Example
T
UNNELING
C
OMMANDS
n
A tunnel interface number is in the X format, where X ranges from 0 to 1023.
destination { ip-address | ipv6-address }
undo destination
Tunnel interface view
ip-address: Destination IPv4 address of a specified tunnel interface.
ip-address: Destination IPv6 address of a specified tunnel interface.
Use the command destination to specify a destination address for the tunnel
interface.
Use the
undo destination
address.
By default, no destination address is configured for the tunnel interface.
Note that:
The destination address of a tunnel interface is the address of the peer
■
interface receiving packets and is usually the source address of the peer tunnel
interface.
Two or more tunnel interfaces using the same encapsulation protocol must
■
have different source and destination addresses.
interface tunnel and source.
# Set Serial2/0 (193.101.1.1) of Sysname 1 and Serial2/0 (192.100.1.1) of
Sysname 2 to the source and destination interfaces of a tunnel between 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
C
ONFIGURATION
command to remove the configured destination IP