destination (IPv6)(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 [ vpn-instance vpn-instance-name ] des-ipv6-address

undo destination [ [ vpn-instance vpn-instance-name ] des-ipv6-address ]

Parameters

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.

des-ipv6-address

Specifies the destination IPv6 address of a tunnel, which is the IPv6 address of the remote tunnel interface that actually receives packets.

The address is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

Views

Tunnel interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
gre write

Usage Guidelines

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.

Precautions

Only the NetEngine 8000 F1A supports this command.

Example

# Configure the destination IPv6 address for an IPv6 GRE tunnel named Tunnel10 as 2001:db8:2::1.
<HUAWEI> system-view
[~HUAWEI] interface Tunnel 10
[*HUAWEI-Tunnel10] tunnel-protocol gre ipv6
[*HUAWEI-Tunnel10] destination 2001:db8:2::1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >