destination (Tunnel interface view)

Function

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.

Format

destination ip-address

undo destination

Parameters

Parameter Description Value
ip-address

Specifies the destination address of a tunnel.

The value is in dotted decimal notation.

Views

Tunnel interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
tunnel6 write

Usage Guidelines

Usage Scenario

When configuring the 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.

Example

# Configure the destination IP address for a tunnel named Tunnel10 as 2.2.2.2.
<HUAWEI> system-view
[~HUAWEI] interface Tunnel 10
[*HUAWEI-Tunnel10] tunnel-protocol ipv6-ipv4
[*HUAWEI-Tunnel10] destination 2.2.2.2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >