Log in
|
How to Buy
|
Contact Us
|
United States (Change)

## Choose Country

### North America

- United States

### Europe

- Deutschland - Germany
- España - Spain
- France
- Italia - Italy
- Россия - Russia
- United Kingdom

### Asia Pacific

- Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
- Australia
- 中国 - China
- India
- 日本 - Japan
- 대한민국 - Korea
- 台灣 - Taiwan

Remember my choice

# Technical Documentation

Download Software
Research a Problem
Case Management
Contract & Product Management
Technical Documentation
Documentation Archive
Enterprise MIBs
File Format Help
Glossary
Portable Libraries
End-of-Life Products
Contact Support
Guidelines and Policies
Security Resources
Rate and give feedback: Feedback Received. Thank You!
Rate and give feedback:
This document helped resolve my issue. Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:
E-mail:

## Related Documentation

- Configuring the Maximum Number of LNS Sessions
- max-sessions
- sessions-limit-group

# Configuring Groups for LNS Sessions

You can define and configure session limit groups under the L2TP destination profile. Under each destination profile, you can define a maximum of 4096 session limit groups.

The maximum session limit is applied for each of the session limit groups in L2TP Destination Profile Sessions Limit Group Configuration mode.

| Note: The max-sessions command is also supported in L2TP Destination Profile Configuration mode and L2TP Destination Profile Host Configuration mode.

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 session count is less than the configured limit, the LNS then performs the same check on the L2TP destination sessions limit profile. If no limit is set, or if the current session limit is less than the configured limit, the LNS then performs the same check on the L2TP destination host profile limit. If no limit is set, or if the current session count is also less than the L2TP destination host profile limit, then the new session can be established. If a session request exceeds any of the maximum sessions settings, the LNS rejects the session.

To set the maximum sessions allowed for a group for the specified destination, use the max-sessions command in L2TP Destination Profile Sessions Limit Group Configuration mode. You can configure this as follows:

1. Define an L2TP destination profile.
   host1(config)#l2tp destination profile abc virtual-router default ip address 10.10.10.1
2. Define a session limit group in L2TP Destination Profile Configuration mode.
   host1(config-l2tp-dest-profile)#sessions-limit-group g1
3. Define the maximum number of sessions allowed in the group.
   host1(config-l2tp-dest-profile-sessions-limit-group)#max-sessions 8000
4. To view the output, use the show l2tp destination profile command.
   host1#show l2tp destination profile abc

To set the maximum sessions allowed for a group for the specified host, use the max-sessions command in L2TP Destination Profile Sessions Limit Group Configuration mode. You can configure this as follows:

1. Configure a remote host name.
   host1(config-l2tp-dest-profile)#remote host xyz
2. Assign a sessions limit group name for the remote host.
   host1(config-l2tp-dest-profile-host)#sessions-limit-group g1

   | Note: Ensure that the group name is already defined under the destination profile.

3. To view the output, use the show l2tp destination profile command.
   host1#show l2tp destination profile abc

## Related Documentation

- Configuring the Maximum Number of LNS Sessions
- max-sessions
- sessions-limit-group

#### Published: 2011-09-28

Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2011 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out