The destination command configures the destination IP address of a tunnel interface.
The undo destination command cancels the above configuration.
| Parameter | Description | Value |
|---|---|---|
| dest-ip-address | Specifies the destination address of a tunnel, namely, the IP address of the interface of the remote end of the tunnel. | The value is in dotted decimal notation. |
| vpn-instance vpn-instance-name | Specifies the name of a VPN instance. | It is a string of 1 to 31 characters and case sensitive. |
| domain domain-name | Specifies the name of a domain. | It is a string of 1 to 64 case-sensitive characters, excluding such characters as \, /, :, * , ?, ", <, and >. |
By default, the destination address of a tunnel is not specified.
The command can be executed only if the tunnel type of the tunnel interface is specified.
When configuring GRE tunnel, you need to configure tunnel interfaces and use the destination command to configure the destination address of a tunnel interface. The destination address of a tunnel interface is the same as the source address specified by the remote tunnel interface. Ensure there is a reachable route between the source and destination tunnel addresses.
The same source address and destination address cannot be configured on two or more tunnel interfaces using the same encapsulation protocol.