108
Usage guidelines
The LTS device compares the configured TSA ID with each TSA ID Attribute Value Pair (AVP) in a
received ICRQ packet for loop detection.
•
If a match is found, a loop exists. The LTS immediately tears down the session.
•
If no match is found, the LTS performs the following operations:
a.
Encapsulates the configured TSA ID into a new TSA ID AVP.
b.
Appends the new TSA ID AVP to the packet.
c.
Sends the packet to the next hop LTS.
To avoid loop detection errors, make sure the TSA ID of each LTS device is unique.
Examples
# Set the TSA ID of the LTS device to
lts0
, and enable L2TP loop detection on the LTS device.
<Sysname> system-view
[Sysname] l2tp tsa-id lts0
l2tp virtual-template va-pool
Use
l2tp virtual-template va-pool
to create a VA pool.
Use
undo l2tp virtual-template va-pool
to delete a VA pool.
Syntax
l2tp virtual-template
template-number va-pool
va-volume
undo l2tp virtual-template
template-number va-pool
Default
No VA pool exists.
Views
System view
Predefined user roles
network-admin
Parameters
virtual-template template-number
: Specifies an existing VT interface by its number to use the VA
pool.
va-pool va-volume
: Specifies the maximum number of VA interfaces contained in the VA pool, in the
range of 1 to 65534.
Usage guidelines
The LNS creates a VA interface for an L2TP session to exchange packets with the LAC, and it
deletes the VA interface when the user goes offline. Creating and deleting VA interfaces take time. If
a large number of users are coming online or going offline, the performance of L2TP connection
establishment and termination will be degraded.
You can configure a V A pool to improve the performance. A VA pool contains a group of VA
interfaces. The LNS selects a VA interface from the pool for a r equesting user and places the
interface back to the VA pool when the user goes offline. This mechanism speeds up t he
establishment and termination of L2TP connections. When a VA pool is exhausted, the system still
creates a VA interface for an L2TP connection and deletes it when the user goes offline.
When you configure a VA pool, follow these guidelines:
Summary of Contents for MSR810
Page 148: ...136 Related commands timer hold...
Page 331: ...319 Related commands timer hold...