The destination command configures a destination address for a tunnel.
The undo destination command deletes the destination address of a tunnel.
By default, no destination address is configured for a tunnel.
Parameter | Description | Value |
---|---|---|
vpn-instance vpn-instance-name |
Specifies the name of the VPN instance to which the destination address of a tunnel belongs. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string. |
ip-address |
Specifies the destination address of a tunnel. |
The value is in dotted decimal notation. |
Usage Scenario
When configuring GRE tunnels, you need to create tunnel interfaces and use the destination command to configure the destination addresses of tunnels.
Prerequisites
The tunnel mode has been configured using the tunnel-protocol command.
Configuration Impact
The same source or destination IP address cannot be configured for two or more tunnel interfaces that use the same encapsulation protocol.