R0106-HP MSR Router Series Layer 2 - WAN Command Reference(V7)
76
If you execute this command multiple times for an L2TP group, the most recent configuration takes effect.
For L2TP group 1, if you do not specify the remote remote-name option, an LNS accepts tunneling
requests from any LAC. In this case, L2TP group 1 serves as the default L2TP group.
The allow l2tp command is available only to LNSs.
• When an LAC that initiates a tunneling request matches the tunnel peer name configured in an L2TP
group, the LNS uses the tunnel parameters configured in this L2TP group for tunnel setup.
• When the LAC does not match the tunnel peer name configured in any L2TP group, the LNS does
one of the following:
{ Uses the tunnel parameters for the default L2TP group if it exists.
{ Fails to set up a tunnel with the LAC if the default L2TP group does not exist.
HP recommends that you configure a default L2TP group on the LNS in the following cases:
• There are LACs (such as hosts with Windows 2000 Beta 2 installed) that include blank local names
in their tunneling requests.
• The LNS sets up tunnels with multiple LACs by using the same tunnel parameters.
Examples
# Specify L2TP group 1 as the default L2TP group, and specify Virtual-Template 1 for tunnel setup. For
L2TP group 2, configure the LNS to accept the L2TP tunneling request initiated by the peer (LAC) named
aaa,and specify Virtual-Template 2 for tunnel setup.
<Sysname> system-view
[Sysname] l2tp-group 1 mode lns
[Sysname-l2tp1] allow l2tp virtual-template 1
[Sysname-l2tp1] quit
[Sysname] l2tp-group 2 mode lns
[Sysname-l2tp2] allow l2tp virtual-template 2 remote aaa
Related commands
tunnel name
bandwidth
Use bandwidth to configure the expected bandwidth of an interface.
Use undo bandwidth to restore the default.
Syntax
bandwidth bandwidth-value
undo bandwidth
Default
The expected bandwidth (in kbps) is 0.
Views
Virtual PPP interface view
Predefined user roles
network-admin










