destination

Function

The destination command configures the destination IP address of a tunnel interface.

The undo destination command cancels the above configuration.

Format

destination { [ vpn-instance vpn-instance-name ] dest-ip-address | domain domain-name }

undo destination

Parameters

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 >.

Views

Tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

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.

NOTICE:

The same source address and destination address cannot be configured on two or more tunnel interfaces using the same encapsulation protocol.

Example

# Configure the destination IP address of the interface Tunnel 10 to 10.1.1.1.

<sysname> system-view
[sysname] interface tunnel 10 
[sysname-Tunnel10] destination 10.1.1.1
Related Topics
source

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.