R0106-HP MSR Router Series Layer 2 - WAN Command Reference(V7)

75
L2TP commands
In this chapter, "MSR4000" collectively refers to MSR4060 and MSR4080.
allow l2tp
Use allow l2tp to configure an LNS to accept L2TP tunneling requests from the specified LAC, and to
specify a VT interface for tunnel setup.
Use undo allow to restore the default.
Syntax
For L2TP group 1:
allow l2tp virtual-template virtual-template-number [ remote remote-name ]
undo allow
For L2TP groups other than L2TP group 1:
allow l2tp virtual-template virtual-template-number remote remote-name
undo allow
Default
An LNS denies L2TP tunneling requests from any LAC.
Views
L2TP group view
Predefined user roles
network-admin
Parameters
virtual-template virtual-template-number: Specifies a VT interface by its number. An LNS dynamically
creates virtual access (VA) interfaces based on the configuration of a VT interface. Each VA interface is
used to carry data for a different L2TP session.
The following matrix shows the value ranges for the virtual-template-number argument:
Hardware Value ran
e
MSR2000 0 to 1023
MSR3000 0 to 2047
MSR4000
0 to 2047
remote remote-name: Specifies the name of the tunnel peer (LAC) initiating tunneling requests, a
case-sensitive string of 1 to 31 characters.
Usage guidelines
The allow l2tp command is available only to L2TP groups in LNS mode.
Make sure the specified name of the tunnel peer is consistent with the local name configured on the LAC.