[Sysname] interface virtual-template 1
[Sysname-Virtual-Template1]
Related commands
allow l2tp
l2tp enable
Use l2tp enable to enable the L2TP function.
Use undo l2tp enable to disable the L2TP function.
Syntax
l2tp enable
undo l2tp enable
Default
The L2TP function is disabled.
Views
System view
Default command level
2: System level
Usage guidelines
L2TP must be enabled for relevant L2TP configurations to take effect.
Examples
# Enable the L2TP function.
<Sysname> system-view
[Sysname] l2tp enable
Related commands
l2tp-group
l2tp-auto-client enable
Use l2tp-auto-client enable to trigger an LAC to establish an L2TP tunnel.
Use undo l2tp-auto-client enable to remove the established L2TP tunnel.
Syntax
l2tp-auto-client enable
undo l2tp-auto-client enable
Default
An LAC does not establish an L2TP tunnel.
Views
VT interface view
290