Guest

Cisco IOS Software Releases 12.2 Special and Early Deployments

VPDN Group Session Limiting

  • Viewing Options

  • PDF (232.3 KB)
  • Feedback
VPDN Group Session Limiting

Table Of Contents

VPDN Group Session Limiting

Contents

Feature Overview

Benefits

Restrictions

Related Features and Technologies

Related Documents

Supported Platforms

Supported Standards, MIBs, and RFCs

Prerequisites

Configuration Tasks

Configuring VPDN Group Session Limiting

Verifying VPDN Group Session Limiting

Monitoring and Maintaining VPDN Group Session Limiting

Configuration Examples

Configuring VPDN Group Session Limiting:Example

Command Reference

session-limit (VPDN)


VPDN Group Session Limiting


Feature History

Release
Modification

12.2(1)DX

This feature was introduced.

12.2(2)DD

This feature was integrated into Cisco IOS Release 12.2(2)DD.

12.2(4)B

This feature was integrated into Cisco IOS Release 12.2(4)B.

12.2(27)SB

This feature was integrated into Cisco IOS Release 12.2(27)SB.


Finding Support Information for Platforms and Cisco IOS Software Images

Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.

Contents

Feature Overview

Supported Platforms

Supported Standards, MIBs, and RFCs

Prerequisites

Configuration Tasks

Monitoring and Maintaining VPDN Group Session Limiting

Configuration Examples

Command Reference

Feature Overview

Before the introduction of the Virtual Private Dial Network (VPDN) Group Session Limiting feature, you could only globally limit the number of VPDN sessions on a router with limits applied equally to all VPDN groups. Using the VPDN Group Session Limiting feature, you can limit the number of VPDN sessions allowed per VPDN group. This feature is implemented with the introduction of the session-limit number command in VPDN configuration mode. VPDN group session limiting is applied after the global VPDN session limiting (which is configured via the vpdn session-limit session command in configuration mode) is enforced.

Benefits

The VPDN group session limiting feature offers the following benefits:

Limits Number of Sessions VPDN Group Can Terminate

The VPDN Group Session Limiting feature gives more control to network administrators by enabling them to limit how many sessions a VPDN group can terminate.

Enables Finer Configuration Granularity

This feature enables service providers to cater to all types of organizations, large or small, by enabling finer configuration granularity.

Restrictions

The VPDN Session Limiting feature does not support the following:

VPDN group session limiting cannot be configured on an L2TP Access Concentrator (LAC) or L2F Network Access Server (NAS).

The range of legal values for number is from 0 to 32767.

VPDN group session limiting applies only to L2F and L2TP sessions.

Related Features and Technologies

Shell-Based Authentication of VPDN Users

Accounting of VPDN Disconnect Cause

Resource Pool Management

Related Documents

Resource Pool Management 

Shell-Based Authentication of VPDN Users 

"Configuring Virtual Private Networks" section of the Cisco IOS Dial Services Configuration Guide: Network Services

Cisco IOS Dial Services Command Reference

Supported Platforms

Cisco 7200 series

Cisco 7401 ASR router

Supported Standards, MIBs, and RFCs

Standards

No new or modified standards are supported by this feature.

MIBs

No new or modified MIBs are supported by this feature.

To obtain lists of supported MIBs by platform and Cisco IOS release, and to download MIB modules, go to the Cisco MIB website on Cisco.com at the following URL:

http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml

RFCs

No new or modified RFCs are supported by this feature.

Prerequisites

A VPDN session group must be created before the session-limit VPDN configuration group can be configured. You must configure the accept-dialin command or request-dialout command before VPDN session group limiting can be configured.

Configuration Tasks

See the following section for the configuration task necessary to configure the VPDN Group Session Limiting feature:

Configuring VPDN Group Session Limiting (required)

Configuring VPDN Group Session Limiting

To configure VPDN group session limiting, follow the steps in the table below, beginning in global configuration mode:

 
Command
Purpose

Step 1 

Router(config)# vpdn-group name

Select the VPDN group to configure.

name—Name of the VPDN group.

Step 2 

Router(config-vpdn)# accept-dialin


or

Router(config-vpdn)# request-dialout

Enables the router to accept dial-in requests.



Enables the router to send L2TP dial-out requests.

Step 3 

Router(config-vpdn-acc-in)# protocol [l2f | l2tp]

Specifies which tunneling protocol is to be used.

Step 4 

Router(config-vpdn-acc-in)# virtual-template template-number

Specifies the number of the virtual template that will be used to clone the virtual access interface.

template-number—Number of the virtual template that will be used to clone virtual-access interfaces. Valid range is 1 to 200.

Step 5 

Router(config-vpdn-acc-in)# exit

Exits VPDN accept-dialin interface mode.

Step 6 

Router(config-vpdn)# terminate-from hostname host-name

Accepts tunnels that have this host name configured as a local name.

host-name—The host name that this VPDN group will accept connections from.

Step 7 

Router(config-vpdn)# session-limit session-number

Limits the number of sessions allowed on the specified VPDN group.

session-number—The maximum number of sessions allowed on the specified VPDN group in the range of 0 to 32767. If session-limit is configured to 0, no sessions are allowed on the VPDN group.

Verifying VPDN Group Session Limiting

Follow the steps below to verify the successful configuration of VPDN group session limiting:


Step 1 Enter the session-limit 1 command in VPDN configuration mode.

Step 2 Establish a VPDN session by dialing in to the network access server (NAS) using an allowed username and password.

Step 3 Attempt to establish another VPDN session by dialing in to the NAS using another allowed username and password.

Step 4 A Syslog message similar to the following should appear on the console of the router:

00:11:17: %VPDN-6-MAZ_sESS_EXCD:L2F HGW great_went has exceeded configured local 
session-limit and rejected user user@anywhere.com

Step 5 Enter the show vpdn history failure command on the router. If you see output similar to the following, the group session limit was successful:

User: user@anywhere.com
NAS: cliford_ball, IP address = 172.25.52.8, CLID = 2
Gateway: great_went, IP address = 172.25.52.7, CLID = 13
Log time: 00:04:21, Error repeat count:1
Failure type: Exceeded configured VPDN mazimum session limit
Failure reason:


Monitoring and Maintaining VPDN Group Session Limiting

Use the following commands to monitor and maintain VPDN group session limiting:

Command
Purpose

Router# show vpdn group name

Displays the session-limit set, and the number of active sessions and tunnels on the specified VPDN group.

name—VPDN group name summarizes the configuration of the specified group.

Router# show vpdn

Displays a summary of all active VPDN tunnels.

Router# show vpdn history failure

Displays information about VPDN user failures.

Router# show vpdn session [all [interface | tunnel | username] | packets | sequence | state | timers | window]

Displays VPDN session information including interface, tunnel, username, packets, status, and window statistics.

all—All session information for active sessions.

interface—Interface associated to a specific session.

tunnel—Tunnel attribute filter.

username—Username filter.

packets—Packet/byte count.

sequence —Sequence numbers.

state—State of each session.

timers—Timer information.

window—Window information.

Router# show vpdn tunnel [all [id | local-name | remote-name] | packets | state | summary | transport]

Displays VPDN tunnel information including tunnel protocol, ID, local and remote tunnel names, packets sent and received, tunnel, and transport status.

all—All information for active tunnels. Options are:

id—Local tunnel ID.

local-name—Name of local end of tunnel.

remote-name—Name of remote end of tunnel.

packets—Packet/byte count.

state—Tunnel state information.

summary—Tunnel information summary.

transport—Tunnel transport information.


Configuration Examples

This section provides the following configuration examples:

Configuring VPDN Group Session Limiting:Example

Configuring VPDN Group Session Limiting:Example

In the example below, VPDN group "abc" is created and restricted to three sessions:

Router# configure terminal
Router(config)# vpdn-group abc
Router(config-vpdn)# accept dialin
Router(config-vpdn-acc-in)# protocol l2tp
Router(config-vpdn-acc-in)# virtual-template 5
Router(config-vpdn-acc-in)# exit
Router(config-vpdn)# terminate hostname host1
Router(config-vpdn)# session-limit 3
Router(config-vpdn)# end
Router# show vpdn-group abc

Command Reference

This section documents the modified command

session-limit (VPDN)

session-limit (VPDN)

To limit the number of sessions that are allowed through a specified virtual private dialup network (VPDN) group, use the session-limit command in VPDN group configuration mode. To remove a configured session limit restriction, use the no form of this command.

session-limit number

no session-limit number

Syntax Description

number

Specifies the number of sessions allowed through a specified VPDN group. The number of sessions can range from 0 to 32767.


Defaults

No default behavior or values.

Command Modes

VPDN group configuration

Command History

Release
Modification

12.2(1)DX

This command was introduced.

12.2(2)DD

This command was integrated into Cisco IOS Release 12.2(2)DD.

12.2(4)T

This command was integrated into Cisco IOS Release 12.2(4)T.

12.2(11)T

This command was integrated into Cisco IOS Release 12.2(11)T and support was added for the Cisco 1760, Cisco AS5300, Cisco AS5350, Cisco AS5400, Cisco AS5800, and Cisco AS5850 platforms.

12.2(27)SB

This command was integrated into Cisco IOS Release 12.2(27)SB.


Usage Guidelines

Use this command to limit the number of allowed sessions for a specified VPDN group. If the session-limit command is configured to 0, no sessions are allowed on the VPDN group.

This command works independently from the session-limit command used in global configuration mode. Using the session-limit command in global configuration mode, you can restrict the total number of sessions allowed on all VPDN groups. VPDN group session limiting is configured in VPDN group configuration mode.

Global VPDN session limiting and VPDN group session limiting work independently, but global VPDN session limiting is enforced before individual VPDN group limiting. For example, if you apply the vpdn session-limit 2 command in global configuration mode and the session-limit 3 command in VPDN group configuration mode to the VPDN group named group1, no more than two calls are allowed in the VPDN group group1.

Examples

The following example creates a VPDN group named scoot, creates virtual template 5, and restricts the VPDN group group1 to three sessions:

Router(config)# vpdn-group group1
Router(config-vpdn)# accept dialin
Router(config-vpdn-acc-in)# protocol l2tp
Router(config-vpdn-acc-in)# virtual-template 5
Router(config-vpdn-acc-in)# exit
Router(config-vpdn)# terminate-from hostname host1
Router(config-vpdn)# session-limit 3

Related Commands

Command
Description

session-limit

Limits the number of VPDN sessions.