Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All
     

    Related Documentation

     

    Configuring the Maximum Number of LNS Sessions

    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.2host1(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
     

    Related Documentation

     

    Published: 2014-08-20