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.
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. |
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.
<HUAWEI> system-view [~HUAWEI] l2tpv3 enable [~HUAWEI] l2tpv3 pw huawei [*HUAWEI-l2tpv3-pw-huawei] destination 3.3.3.3
<HUAWEI> system-view [~HUAWEI] l2tpv3 enable [~HUAWEI] l2tpv3 pw huawei [*HUAWEI-l2tpv3-pw-huawei] destination 2001:db8::2:2