616 CHAPTER 43: CONFIGURING L2TP
By default, address pool 0 (the default one) will be used by the peer for allocating
addresses.
When specifying the address pool from which addresses are allocated for users,
the default address pool will be used for allocating addresses if no specific
pool-number value is configured after the key word pool.
Configure the Receiving
Window Size for
Controlling Flow over
Tunnel
This configuration is applicable to LAC and LNS.
L2TP has simple flow control function. The users can specify the size of receiving
window for controlling flow over tunnel.
Perform the following configurations in L2TP group view.
Table 683 Set the Size of Receiving Window for Controlling Flow Over Tunnel
By default, the receiving window size for controlling flow on tunnel is 0 (no flow
control).
Enable/Disable Hiding
Attribute Value Pairs (AV
pairs)
This configuration is used at the LAC and LNS sides.
L2TP enables hiding AV pairs, and it is very useful when PAP or proxy
authentication is employed between LAC and LNS. Only after the tunnel
authentication and tunnel password are configured first, can the AV pairs hiding
be meaningful. After the AV pairs are hidden, the L2TP hiding algorithm will be
implemented, so that the username and password transmitted in plaintext during
proxy authentication can be encrypted in AV pairs.
Please perform the following configurations in L2TP group view.
Table 684 Enable/Disable Hiding AV Pairs
By default, AV pairs are hidden.
In actual configuration, it is recommended to enable hiding AV pairs at LAC and
LNS sides at the same time, or disable hiding AV pairs at LAC and LNS sides at the
same time
Configure the Maximum
Number of L2TP Sessions
This configuration is applicable to LAC and LNS.
Users can configure the maximum number of sessions at local end as needed, so
as to effectively control the quantity of VPN users who are accessing the network
simultaneously and keep it within a reasonable range. Thereby, the service quality
Operation Command
Set the receiving window size for
controlling flow over tunnel.
tunnel flow-control receive-window
size
Restore the receiving window size for
controlling flow over tunnel to default
value.
undo tunnel flow-control
receive-window
Operation Command
Enable hiding AV pairs tunnel avp-hidden
Disable hiding AV pairs undo tunnel avp-hidden