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.
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.
<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