F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices VPN Command Reference-6PW100

116
interface virtual-template
Use interface virtual-template to create a VT interface and enter its view.
Use undo interface virtual-template to remove a VT interface.
Syntax
interface virtual-template virtual-template-number
undo interface virtual-template virtual-template-number
Default
No VT interface exists.
Views
System view
Default command level
2: System level
Parameters
virtual-template-number: Number of a VT interface, in the range of 0 to 1023.
Usage guidelines
A VT interface is intended to provide parameters for VA interfaces to be dynamically created by the
device, such as logical L2TP interfaces.
Examples
# Create VT interface 1 and enter VT interface view.
<Sysname> system-view
[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