R3166-R3206-HP High-End Firewalls VPN Command Reference-6PW101
74
Parameters
virtual-template-number: Serial number for identifying the virtual interface template, in the range of 0 to
1023.
Description
Use the interface virtual-template command to create a virtual interface template and enter its view.
Use the undo interface virtual-template command to remove a virtual interface template.
By default, no virtual interface template exists.
A virtual interface template is intended to provide parameters for virtual access interfaces to be
dynamically created by the firewall, such as logical MP interfaces and logical L2TP interfaces.
Related commands: allow l2tp.
Examples
# 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
Default level
2: System level
Parameters
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.
L2TP must be enabled for relevant L2TP configurations to take effect.
Related commands: l2tp-group.
Examples
# Enable the L2TP function.
<Sysname> system-view
[Sysname] l2tp enable