JunosE 11.2.x Broadband Access Configuration Guide
Configuring the Maximum Number of LNS Sessions
Related Topics
Configuring the RADIUS Connect-Info Attribute on the LNS
372
You can use the max-sessions command in both L2TP Destination Profile Configuration
mode and L2TP Destination Profile Host Configuration mode to configure the number
of sessions allowed by the L2TP network server (LNS).
The LNS uses a two-step process to ensure that the maximum number of allowed
sessions is not exceeded. When a session is requested, the LNS first checks the maximum
sessions set for the L2TP destination profile. If no limit is set, or if the current count is less
than the configured limit, the LNS then performs the same check on the L2TP destination
host profile limit. If the current count is also less than the L2TP destination host profile
limit, then the new session can be established. If a session request exceeds either of the
max-sessions settings, the LNS rejects the session.
NOTE: New sessions are rejected once the chassis-wide session limit is exceeded, even
if the destination profile or host profile maximum session limit is not exceeded. For
information about the maximum number of L2TP sessions supported per chassis, see
JunosE Release Notes, Appendix A, System Maximums.
To set the maximum sessions allowed for the specified destination, use the
max-sessions command in L2TP Destination Profile Configuration mode:
host1(config)#l2tp destination profile westford ip address 10.10.21.2
host1(config-l2tp-destination-profile)#max-sessions 20000
To set the maximum session allowed for the specified host, use the max-sessions
command in L2TP Destination Profile Host Configuration mode:
host1(config-dest-profile))#remote host default
host1(config-l2tp-destination-profile-host)#max-sessions 20000
max-sessions
You can configure the LNS to generate the RADIUS Connect-Info attribute [77]. Service
providers can then use the information in the RADIUS attribute to identify a customer's
service.
On the LNS, the Connect-Info attribute is based on the L2TP connect-speed AVPs received
from the LAC. The LNS does not generate the attribute by default. The format of the
Connect-Info attribute is as follows, where the TX speed and RX speed are equal to the
respective L2TP AVPs:
tx-speed [ /rx-speed ]
The TX speed is always included in the attribute when the speed is not zero; however,
inclusion of the RX speed depends on the keyword you use with the command.
Copyright © 2010, Juniper Networks, Inc.