Table Of Contents
Supported Standards, MIBs, and RFCs
Limiting the Number of Allowed Simultaneous VPN Sessions
Enabling Soft Shutdown of VPN Tunnels
Verifying Simultaneous VPN Session Limits
Verifying Soft Shutdown of VPN Tunnels
Monitoring and Maintaining VPN sessions
NAS Configured for Dial-In with VPN Tunnel Management
Tunnel Server Configured for Dial-In with VPN Tunnel Management
VPN Tunnel Management
This feature module describes the Virtual Private Network (VPN) feature. It includes information on the benefits of the new feature, supported platforms, related documents, and so forth.
This document includes the following sections:
•
Supported Standards, MIBs, and RFCs
•
Monitoring and Maintaining VPN sessions
Feature Overview
The VPN Tunnel Management feature provides network administrators with two new functions for managing VPN tunnels:
•
The ability to set a limit for the maximum number of allowed simultaneous VPN sessions
•
The ability to prevent new sessions from being established on a VPN tunnel without disturbing the service of existing sessions (this function is called VPN tunnel soft shutdown)
These functions can be used on either end of a VPN tunnel—the Network Access Server (NAS) or on the tunnel server.
When this feature is enabled, Multichassis Multilink PPP (MMP) Layer 2 Forwarding (L2F) tunnels can still be created and established.
NAS VPN Tunnel Soft Shutdown
When this feature is enabled on a NAS, the potential session will be authorized before it is refused. This authorization ensures that accurate accounting records can be kept.
Tunnel Server VPN Tunnel Soft Shutdown
When this feature is enabled on a tunnel server, the reason for the session refusal will be returned to the NAS. This information is recorded in the VPN history failure table.
Benefits
The VPN Tunnel Management feature gives network administrators greater flexibility in managing VPN traffic. It enables network administrators to prevent a VPN tunnel from becoming congested without affecting previously established sessions.
Related Documents
For more information about Cisco VPN, see the following documents:
•
The Layer 2 Tunnel Protocol feature module, which is located under New Features in Release 12.0(1)T from CCO.
•
The following feature modules located under New Features in Release 12.0(5)T from CCO:
•
L2TP Dialout
•
L2TP Tunnel Preservation of IP TOS
•
Resource Pool Management
•
VPDN Group Reorganization
•
VPDN Per-User Configuration
•
The "Virtual Private Dialup Network" chapter in the Dial Solutions Configuration Guide.
•
The Access VPN Solutions Using Tunneling Technology solutions guide, which is located under the Internetworking Solutions Guides index on CCO's documentation home page.
Supported Platforms
•
Cisco 1600 series
•
Cisco 1720 VPN Access Router
•
Cisco 2500 series
•
Cisco 2600 series
•
Cisco 3600 series
•
Cisco 4000-M series (Cisco 4000-M, 4500-M, 4700-M)
•
Cisco 7000 series
•
Cisco 7100 series
•
Cisco 7200 series
•
Cisco 7500 series
•
Cisco AS5200
•
Cisco AS5300
•
Cisco AS5800
Supported Standards, MIBs, and RFCs
Standards
None
MIBs
•
CISCO-VPDN-MGMT-MIB.my
•
CISCO-VPDN-MGMT-MIB-V1SMI.my
For descriptions of supported MIBs and how to use MIBs, see the Cisco MIB web site on CCO at http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml.
RFCs
•
L2TP RFC
Configuration Tasks
See the following sections for configuration tasks for the VPN Tunnel Management feature. Each task in the list indicates if the task is optional or required.
•
Limiting the Number of Allowed Simultaneous VPN Sessions (Required)
•
Enabling Soft Shutdown of VPN Tunnels (Required)
Limiting the Number of Allowed Simultaneous VPN Sessions
Command Purpose great_went(config)# vpdn session-limit sessionsLimits the number of simultaneous VPN1 sessions on the router to the number specified with the sessions argument.
1 The Cisco IOS command syntax uses the more specific term virtual private dialup network (VPDN) instead of VPN.
Enabling Soft Shutdown of VPN Tunnels
Command Purpose great_went(config)# vpdn softshutPrevents new sessions from being established on a VPN tunnel without disturbing existing sessions.
Verifying Simultaneous VPN Session Limits
Step 1
Enter the terminal monitor privileged EXEC command.
Step 2
Enter the vpdn session-limit 1 global configuration command on either the NAS or tunnel server.
Step 3
Establish a VPN session by dialing in to the NAS using an allowed username and password.
Step 4
Attempt to establish another VPN session.
A Syslog message similar to the following should appear on the console of the router:
00:11:17:%VPDN-6-MAX_SESS_EXCD:L2F HGW great_went has exceeded configured local session-limit and rejected user wilson@soam.comStep 5
Enter the show vpdn history failure command on the router. If you see output similar to the following, the session limit was successful:
User:wilson@soam.comNAS:cliford_ball, IP address = 172.25.52.8, CLID = 2Gateway:great_went, IP address = 172.25.52.7, CLID = 13Log time:00:04:21, Error repeat count:1Failure type:Exceeded configured VPDN maximum session limit.Failure reason:Verifying Soft Shutdown of VPN Tunnels
Step 1
Enter the terminal monitor privileged EXEC command.
Step 2
Establish a VPN session by dialing in to the NAS using an allowed username and password.
Step 3
Enter the vpdn softshut global configuration command on either the NAS or tunnel server.
Step 4
Verify that the original session is still active by entering the show vpdn command:
ENT_HGW# show vpdn% No active L2TP tunnelsL2F Tunnel and SessionNAS CLID HGW CLID NAS Name HGW Name State36 1 cliford_ball great_went open172.25.52.8 172.25.52.7CLID MID Username Intf State36 1 mockingbird@gamehendge.com Vi1 openStep 5
Attempt to establish another VPN session.
A Syslog message similar to the following should appear on the console of the soft shutdown router:
00:11:17:%VPDN-6-SOFTSHUT:L2F HGW great_went has turned on softshut and rejected user wilson@soam.comStep 6
Enter the show vpdn history failure command on the soft shutdown router. If you see output similar to the following, the soft shutdown was successful:
User:wilson@soam.comNAS:cliford_ball, IP address = 172.25.52.8, CLID = 2Gateway:great_went, IP address = 172.25.52.7, CLID = 13Log time:00:04:21, Error repeat count:1Failure type:VPDN softshut has been activated.Failure reason:The following EXEC commands provide useful information for verifying VPN sessions:
Monitoring and Maintaining VPN sessions
The following EXEC commands will help you monitor and maintain VPN sessions:
The following EXEC commands will provide more detailed information about VPN sessions:
Configuration Examples
This section provides the following configuration examples:
•
NAS Configured for Dial-In with VPN Tunnel Management
•
Tunnel Server Configured for Dial-In with VPN Tunnel Management
NAS Configured for Dial-In with VPN Tunnel Management
The following example shows a NAS configured to accept L2F dial-in. It is configured to allow a maximum of ten simultaneous VPN sessions, and has the vpdn softshut command enabled:
aaa new-modelaaa authentication ppp default localaaa authorization network default local!username ISP_NAS password 7 tunnelmeusername ENT_HGW password 7 tunnelme!vpdn enable!vpdn session-limit 10vpdn softshutvpdn-group 1accept dialinprotocol l2fvirtual-template 1terminate-from hostname ISP_NASlocal name ENT_HGW!interface FastEthernet0/0ip address 172.25.52.8 255.255.255.192no ip directed-broadcast!interface Virtual-Template1ip unnumbered FastEthernet0/0peer default ip address pool defaultppp authentication chap!ip local pool default 172.30.2.1 172.30.2.96Tunnel Server Configured for Dial-In with VPN Tunnel Management
The following example shows a tunnel server configured to request L2F dial-in. It is configured to allow a maximum of ten simultaneous VPN sessions, and has the vpdn softshut command enabled:
aaa new-modelaaa authentication ppp default localaaa authorization network default local!username ISP_NAS password 7 tunnelmeusername ENT_HGW password 7 tunnelme!vpdn enable!vpdn search-order domain dnisvpdn session-limit 10vpdn softshutvpdn-group 1request dialinprotocol l2fdomain soam.cominitiate-to ip 172.25.52.8local name ISP_NAS!controller T1 0framing esfclock source line primarylinecode b8zspri-group timeslots 1-24!interface Ethernet0ip address 172.25.52.7 255.255.255.192Command Reference
This section documents new commands. All other commands used with this feature are documented in the Cisco IOS Release 12.0 command reference publications.
vpdn session-limit
To limit the number of simultaneous VPN sessions that can be established on a router, use the vpdn session-limit command. To allow an unlimited number of simultaneous VPN sessions, use the no form of this command.
vpdn session-limit sessions
no vpdn session-limit
Syntax Description
Defaults
Disabled
Command Modes
Global configuration
Command History
Usage Guidelines
When this command is enabled, use the show vpdn history failure command to view records of refused attempts to establish new sessions.
Examples
The following example first sets a limit of two simultaneous VPN sessions on the router and then shows a Syslog message stating that an attempt to establish a new session was refused:
great_went(config)# vpdn session-limit 2great_went(config)#00:11:17:%VPDN-6-MAX_SESS_EXCD:L2F HGW great_went exceeded configured local session-limit and rejected user wilson@soam.comgreat_went(config)#Related Commands
Command Descriptionshow vpdn history failure
Displays the content of the failure history table.
Prevents new sessions from being established on a VPN tunnel without disturbing existing sessions.
vpdn softshut
To prevent new sessions from being established on a VPN tunnel without disturbing existing sessions, use the vpdn softshut global configuration command. To return the VPN tunnel to active service, use the no form of this command.
vpdn softshut
no vpdn softshut
Syntax Description
This command has no arguments or keywords.
Defaults
Disabled
Command Modes
Global configuration
Command History
Usage Guidelines
When this feature is enabled on a NAS, the potential session will be authorized before it is refused. This authorization ensures that accurate accounting records can be kept.
When this feature is enabled on a tunnel server, the reason for the session refusal will be returned to the NAS. This information is recorded in the VPN history failure table.
When this command is enabled, use the show vpdn history failure command to view records of refused attempts to establish new sessions.
Examples
The following example first enables the vpdn softshut command and then shows a Syslog message stating that an attempt to establish a new session was refused:
great_went(config)# vpdn softshutgreat_went(config)#00:11:17:%VPDN-6-SOFTSHUT:L2F HGW great_went has turned on softshut and rejected user wilson@soam.comgreat_went(config)#Related Commands
Command Descriptionshow vpdn history failure
Displays the content of the failure history table.
Limits the number of simultaneous VPN sessions that can be established on a router.
