97
Make sure the specified name of the tunnel peer is consistent with the local name configured on the
LAC.
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 LACs. In this case, L2TP group 1 acts as the default L2TP group. For L2TP
groups other than L2TP group 1, the
remote remote-name
option must be configured.
The
allow l2tp
command is available only on LNSs.
•
When an LAC that initiates a tunneling request is the tunnel peer configured in an L2TP group,
the LNS uses the tunnel parameters configured in this group for tunnel setup.
•
When the LAC is not the tunnel peer configured in any L2TP group, the LNS performs one of
the following operations:
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.
As a best practice, configure a default L2TP group on the LNS in the following cases:
•
LACs (such as hosts with Windows 2000 Beta 2 installed) 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 set the expected bandwidth for an interface.
Use
undo bandwidth
to restore the default.
Syntax
bandwidth
bandwidth-value
undo bandwidth
Default
The expected bandwidth (in kbps) is interface baudrate divided by 1000.
Views
Virtual PPP interface view
Predefined user roles
network-admin
Summary of Contents for MSR810
Page 148: ...136 Related commands timer hold...
Page 331: ...319 Related commands timer hold...