l2tpv3 pw

Function

The l2tpv3 pw command creates an L2TPv3 tunnel and displays the L2TPv3-PW view.

The undo l2tpv3 pw command deletes an L2TPv3 tunnel.

By default, no L2TPv3 tunnel is created.

Format

l2tpv3 pw pwname

undo l2tpv3 pw pwname

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.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2tpv3 write

Usage Guidelines

Usage Scenario

An L2TPv3 tunnel supports the following service access modes:

  • Whole-interface mode
  • C-tag termination mode
  • S-tag termination mode
  • S-tag+C-tag termination mode

Prerequisites

L2TPv3 has been enabled using the l2tpv3 enable command.

Example

# Create an L2TPv3 tunnel named huawei.
<HUAWEI> system-view
[~HUAWEI] l2tpv3 enable
[~HUAWEI] l2tpv3 pw huawei
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >