l2tpv3 static binding pw

Function

The l2tpv3 static binding pw command binds an L2TPv3 instance to an L2TPv3 tunnel.

The undo l2tpv3 static binding pw command unbinds an L2TPv3 instance from an L2TPv3 tunnel.

By default, no L2TPv3 instance is bound to an L2TPv3 tunnel.

Format

l2tpv3 static binding pw pwname [ injected ]

undo l2tpv3 static binding [ pw pwname ] [ injected ]

Parameters

Parameter Description Value
pwname

Displays information about a specified L2TPv3 tunnel.

The value is a string of 1 to 19 case-sensitive characters beginning with a letter, spaces or question marks (?) not supported.

injected

Specifies a tunnel as the injection tunnel.

-

Views

L2TPv3 instance view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2tpv3 write

Usage Guidelines

Usage Scenario

To enable an L2TPv3 tunnel to work properly, you must configure an L2TPv3 instance and run the l2tpv3 static binding pw command to bind the L2TPv3 instance to the L2TPv3 tunnel. If injected is specified in the command, the L2TPv3 tunnel serves as an injection tunnel for traffic forwarding testing in the upstream and downstream directions.

Prerequisites

L2TPv3 has been enabled using the l2tpv3 enable command.An L2TPv3 tunnel has been configured using the l2tpv3 instance command.

Example

# Bind the L2TPv3 instance named a123 to the L2TPv3 tunnel named huawei.
<HUAWEI> system-view
[~HUAWEI] interface loopback 122
[*HUAWEI-LoopBack122] ip address 11.11.11.11 32
[*HUAWEI-LoopBack122] quit
[*HUAWEI] l2tpv3 enable
[*HUAWEI] l2tpv3 pw huawei
[*HUAWEI-l2tpv3-pw-huawei] source interface loopback 122 11.11.11.11
[*HUAWEI-l2tpv3-pw-huawei] destination 11.11.11.13
[*HUAWEI-l2tpv3-pw-huawei] quit
[*HUAWEI] interface GigabitEthernet0/1/1.4 mode l2
[*HUAWEI-GigabitEthernet0/1/1.4] encapsulation default
[*HUAWEI-GigabitEthernet0/1/1.4] l2tpv3 instance a123
[*HUAWEI-GigabitEthernet0/1/1.4-l2tpv3-instance-a123] l2tpv3 static binding pw huawei
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >