destination (L2TPv3-PW view)

Function

The destination command configures the destination address of an L2TPv3 tunnel.

The undo destination command deletes the destination address of an L2TPv3 tunnel.

By default, no destination address is configured for an L2TPv3 tunnel.

Format

destination { dest-address | ipv4-address }

undo destination [ dest-address | ipv4-address ]

Parameters

Parameter Description Value
dest-address

Specifies the IPv6 destination address of an L2TPv3 tunnel.

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

ipv4-address

Specifies the IPv4 destination address of an L2TPv3 tunnel.

The value is in dotted decimal notation.

Views

L2TPv3-PW view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2tpv3 write

Usage Guidelines

Usage Scenario

To configure the destination address of an L2TPv3 tunnel, run the destination command.

Prerequisites

L2TPv3 has been enabled using the l2tpv3 enable command.

An L2TPv3 tunnel has been configured using the l2tpv3 pw command.

Precautions

The destination address of an L2TPv3 PW is either an IPv6 or IPv4 address. An IPv6 address and an IPv4 address cannot be used together for an L2TPv3 PW.

Example

# Configure the destination IP address of an L2TPv3 tunnel as 3.3.3.3.
<HUAWEI> system-view
[~HUAWEI] l2tpv3 enable
[~HUAWEI] l2tpv3 pw huawei
[*HUAWEI-l2tpv3-pw-huawei] destination 3.3.3.3
# Configure the destination IP address of an L2TPv3 tunnel as 2001:db8::2:2.
<HUAWEI> system-view
[~HUAWEI] l2tpv3 enable
[~HUAWEI] l2tpv3 pw huawei
[*HUAWEI-l2tpv3-pw-huawei] destination 2001:db8::2:2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >