![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/8b/18b1e1e7-4363-4706-bb94-6eba3a993996/18b1e1e7-4363-4706-bb94-6eba3a993996-bg6e0.png)
1760 CHAPTER 104: L2TP CONFIGURATION COMMANDS
A virtual interface template is intended to provide parameters for virtual interfaces
to be dynamically created by the router, such as logical MP interfaces and logical
L2TP interfaces.
Related command: allow l2tp.
Example # Create virtual interface template 1 and enter virtual interface template view.
<Sysname> system-view
[Sysname] interface virtual-template 1
[Sysname-Virtual-Template1]
l2tp enable
Syntax l2tp enable
undo l2tp enable
View System view
Parameter None
Description Use the
l2tp enable command to enable the L2TP function.
Use the
undo l2tp enable command to disable the L2TP function.
By default, the L2TP function is disabled.
You must enable L2TP before performing L2TP configurations.
Related command: l2tp-group.
Example # Enable the L2TP function.
<Sysname> system-view
[Sysname] l2tp enable
l2tp sendaccm enable
Syntax l2tp sendaccm enable
undo l2tp sendaccm enable
View System view
Parameter None
Description Use the
l2tp sendaccm enable command to enable an LNS to include ACCM in
control messages.