R3166-R3206-HP High-End Firewalls VPN Command Reference-6PW101
1
GRE configuration commands
destination
Syntax
destination ip-address
undo destination
View
Tunnel interface view
Default level
2: System level
Parameters
ip-address: Tunnel destination IPv4 address.
Description
Use the command destination to specify the destination address for the tunnel interface.
Use the undo destination command to remove the configured tunnel destination address.
By default, no tunnel destination address is configured.
The tunnel destination address is the address of the peer interface receiving packets and should be
configured as the source address of the peer tunnel interface.
Automatic tunnel interfaces using the same encapsulation protocol must have different source addresses.
Manual tunnel interfaces using the same encapsulation protocol must have different source and
destination addresses.
Related commands: source, interface tunnel, and display interface tunnel.
Examples
# Configure interface GigabitEthernet 0/1 (193.101.1.1) of Sysname 1 and interface GigabitEthernet 0/1
(192.100.1.1) of Sysname 2 as the source and destination interfaces of a 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