A SERVICE OF

logo

103
GRE CONFIGURATION COMMANDS
destination
Syntax destination { ip-address | ipv6-address }
undo destination
View Tunnel interface view
Parameter ip-address: Destination IPv4 address for a tunnel interface.
Ipv6-address: Destination IPv6 address for a tunnel interface.
Description Use the
destination command to specify the destination address for a tunnel
interface.
Use the
undo destination command to remove the configuration.
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.
Related command: interface tunneland source.
Example # 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