![]() |
VPDN Configuration Guide, Cisco IOS Release 12.4T
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Configuring Additional VPDN Features
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Contents
Configuring Additional VPDN FeaturesLast Updated: April 01, 2011
This module documents concepts and tasks associated with configuring the following additional virtual private dialup network (VPDN) features:
Finding Feature InformationYour software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the Feature Information Table at the end of this document. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required. Information About Configuring Additional VPDN Features
L2TP Dial-Out VPDNsDial-out VPDN configurations allow the tunnel server to tunnel outbound calls to the network access server (NAS). The NAS must establish a connection with the remote destination using a medium that supports PPP. Dial-out VPDNs allow a centralized network to efficiently and inexpensively establish virtual point-to-point connections with any number of remote offices. Dial-out VPDNs are supported with only Layer 2 Tunnel Protocol (L2TP). Cisco routers can carry both dial-in and dial-out calls in the same L2TP tunnel. In an L2TP dial-out deployment, the tunnel server receives PPP packets from itâs local network to send to a remote network or device. The tunnel server initiates establishment of an L2TP tunnel with the NAS, and the NAS terminates the tunnel. The NAS must then establish a connection to the client. L2TP Dial-Out Connection EstablishmentThis sequence of events occurs during session establishment:
If the dialer interface is a DDR and a virtual profile is configured, the PPP endpoint is the tunnel server virtual access interface, not the dialer. All Layer 3 routes point to this interface instead of to the dialer. L2TP Dial-Out Load Balancing and RedundancyIn Cisco IOS software prior to Release 12.2(15)T or 12.2(28)SB, load balancing and redundancy for dial-out VPDNs could be configured only with L2TP large-scale dial-out (LSDO) using Stack Group Bidding Protocol (SGBP). This method of load balancing and redundancy requires that the primary NAS is up and running for dial-out to take place, because the IP address of only that NAS is configured on the tunnel server. When the primary NAS is down, no dial-out can take place. When the primary NAS is up, the NAS determines among itself and the secondary NASs which NAS has the least congestion, and then inform the tunnel server to use the selected NAS for dial-out. Because the tunnel server cannot contact any other NASs when the primary NAS is down, failover is not supported for dial-out calls by this mechanism . The ability to configure a tunnel server with the IP addresses of multiple NASs was introduced in Cisco IOS Release 12.2(15)T and Cisco IOS Release 12.2(28)SB. Load balancing, redundancy, and failover can all be controlled by assigning each NAS the desired priority settings on the tunnel server. Load balancing occurs between NASs with identical priority settings. When NASs are assigned different priority settings, if the NAS with the highest priority goes down the tunnel server will fail over to a lower priority NAS. L2TP Security for the Protection of VPDN TunnelsL2TP security provides enhanced security for tunneled PPP frames by allowing the robust security features of IP Security (IPSec) to protect the L2TP VPDN tunnel and the PPP sessions within the tunnel. Without L2TP security, only a one-time, optional mutual authentication is performed during tunnel setup, with no authentication of subsequent data packets or control messages. The deployment of Microsoft Windows 2000 demands the integration of IPSec with L2TP because this is the default VPDN networking scenario. This integration of protocols is also used for LAN-to-LAN VPDN connections in Microsoft Windows 2000. L2TP security provides integration of IPSec with L2TP in a solution that is scalable to large networks with minimal configuration. The enhanced protection provided by L2TP security increases the integrity and confidentiality of tunneled PPP sessions within a standardized, well-deployed Layer 2 tunneling solution. The security features of IPSec and Internet Key Exchange (IKE) include confidentiality, integrity checking, replay protection, authentication, and key management. Traditional routing protocols such as Routing Information Protocol (RIP), Open Shortest Path First (OSPF), and Interior Gateway Routing Protocol (IGRP) will run transparently because a real PPP interface is associated with the secure tunnel. Additional benefits include built in keepalives and standardized interfaces for user authentication and accounting to authentication, authorization, and accounting (AAA) servers, interface statistics, standardized MIBs, and multiprotocol support. L2TP Security with NAS-Initiated VPDN TunnelsL2TP security can be configured to protect VPDN tunnels between the NAS and the tunnel server in NAS-initiated VPDN deployments. A NAS-initiated tunneling scenario with L2TP security protection is depicted in the figure below. The client connects to the NAS through a medium that supports PPP, such as a dialup modem, digital subscriber line (DSL), ISDN, or a cable modem. If the connection from the client to the NAS is considered secure--such as a modem, ISDN, or a DSL connection--the client might choose not to provide additional security. The PPP session is securely tunneled from the NAS to the tunnel server without any required knowledge or interaction by the client. L2TP security protects the L2TP tunnel between the NAS and the tunnel server with IPSec. L2TP Security with Client-Initiated VPDN TunnelsL2TP security can be configured to protect VPDN tunnels between the client and the tunnel server in client-initiated VPDN deployments. A client-initiated tunneling scenario with L2TP security protection is depicted in the figure below. The client initiates an L2TP tunnel to the tunnel server without the intermediate NAS participating in tunnel negotiation or establishment. The client must manage the software that initiates the tunnel. Microsoft Windows 2000 supports this VPDN scenario. In this scenario, extended services processor (ESP) with authentication must always be used. L2TP security protects the L2TP tunnel between the client and the tunnel server with IPSec. VPDN TemplateA VPDN template can be configured with global default values that will supersede the system default values. These global default values are applied to all VPDN groups, unless specific values are configured for individual VPDN groups. Multiple named VPDN templates can be configured in addition to a single global (unnamed) VPDN template. A VPDN group can be associated with only one VPDN template. Values configured in the global VPDN template are applied to all VPDN groups by default. A VPDN group can be disassociated from the global VPDN template, or associated with a named VPDN template. Associating a VPDN group with a named VPDN template automatically disassociates it from the global VPDN template. The default hierarchy for the application of VPDN parameters to a VPDN group is as follows:
Individual VPDN groups can be disassociated from the associated VPDN template if desired, allowing the system default settings to be used for any parameters not configured in that individual VPDN group. VPDN Source IP AddressA tunnel endpoint can be configured with a source IP address that is different from the IP address used to open the VPDN tunnel. When a source IP address is configured on a tunnel endpoint, the router will generate VPDN packets labeled with the configured source IP address. A source IP address might need to be configured if the tunnel endpoints are managed by different companies and addressing requirements necessitate that a particular IP address be used. The source IP address can be configured globally, or for an individual VPDN group. The VPDN group configuration will take precedence over the global configuration. VRF-Aware VPDN TunnelsPrior to Cisco IOS Release 12.2(15)T or Cisco IOS Release 12.2(28)SB, you had to specify IP addresses from the global routing table for the endpoints of a VPDN tunnel. VRF-aware VPDN tunnels provide support for VPDN tunnels that terminate on a Virtual Private Network (VPN) routing and forwarding instance (VRF) by allowing you to use IP addresses from a VRF routing table. VRF-aware VPDN tunnels enhance the support of VPDN tunnels by allowing VPDN tunnels to start outside a Multiprotocol Label Switching (MPLS) VPN and terminate within the MPLS VPN and have overlapping IP addresses. For example, this feature allows you to use a VRF address from a customer VRF as the destination address. Beginning with Cisco IOS Release 12.2(33)SB, the VRF-Aware VPDN Tunnels feature adds supports for L2TP on the LNS. Cisco IOS Release 12.2(33)SB allows the initiation and termination of tunnels in a VRF instance on the Cisco 10000 series router in both an LNS and Layer 2 Access Concentrator (LAC) environment. You can use VRF-aware VPDN tunnels with multihop, dial-in, and dial-out VPDN tunneling scenarios. In a multihop scenario, this feature is sometimes referred to as VRF-aware VPDN multihop. MTU Tuning for L2TP VPDN TunnelsFragmentation and reassembly of packets is done at the process level in the software. When a tunnel server is aggregating large numbers of sessions and traffic flows, process switching can dramatically reduce performance. For this reason, it is highly desirable to reduce or eliminate the need for packet fragmentation and reassembly in a VPDN deployment, and instead move the burden of any required packet reassembly to the client devices. Packets are fragmented when they attempt to pass through an egress interface with a maximum transmission unit (MTU) that is smaller than the size of the packet. By default, the MTU of most interface is 1500 bytes. Because of this default MTU size, TCP segments are created with a default payload of 1460 bytes, allowing room for the 40 byte TCP/IP header. Because L2TP encapsulation adds 40 bytes of header information, tunneled packets will exceed the MTU of an interface if MTU tuning is not performed. In order to reach its final destination, a packet might traverse multiple egress interfaces. The path MTU is defined as the smallest MTU of all of the interfaces that the packet must pass through. A number of different methods are available to perform MTU tuning. Their end goal is to prevent fragmentation of packets after they have been encapsulated for tunneling. These methods take advantage of distinct mechanisms to accomplish this, as described in these sections:
MTU Tuning Using IP MTU AdjustmentsThe IP MTU configuration controls the maximum size of a packet allowed to be encapsulated by a Layer 2 protocol. The IP MTU of an interface can be manually lowered to compensate for the size of the L2TP header if the path MTU is known. A router can also be configured to automatically adjust the IP MTU of an interface to compensate for the size of the L2TP header. The automatic adjustment corrects for the size of the L2TP header based on the MTU of the egress interface of that device. This configuration is effective only in preventing fragmentation when the MTU of that interface is the same as the path MTU. MTU Tuning Using Path MTU DiscoveryIf the path MTU between the NAS and the tunnel server is unknown, or if it changes, path MTU discovery (PMTUD) can be used to perform MTU tuning. PMTUD uses the Don't Fragment (DF) bit in the IP header to dynamically discover the smallest MTU among all the interfaces along a routing path. The source host initially assumes that the path MTU is the known MTU of the first egress interface, and sends all packets on that path with the DF bit in the IP header set. If any of the packets are too large to be forwarded without fragmentation by the interface of a device along the path, that device will discard the packet and return an Internet Control Message Protocol (ICMP) Destination Unreachable message to the source host. The ICMP Destination Unreachable message includes code 4, which means âfragmentation needed and DF set,â and indicates the IP MTU of the interface that was unable to forward the packet without fragmentation. This information allows the source host to reduce the size of the packet before retransmission to allow it to fit through that interface. Enabling PMTUD makes VPDN deployments vulnerable to Denial of Service (DoS) attacks that use crafted ICMP messages to set a connectionâs path MTU to an impractically low value. This will cause higher layer protocols to time out because of a very low throughput, even though the connection is still in the established state. This type of attack is classified as a throughput-reduction attack. For more information on throughput-reduction attacks against L2TP VPDN deployments, see the âAdditional Referencesâ section. To protect against a throughput-reduction attack, a range of acceptable values for the path MTU can be specified. If the device receives an ICMP code 4 message that advertises a next-hop path MTU that falls outside the configured size range, the device will ignore the message. PMTUD can be unreliable and might fail when performed over the Internet because some routers or firewalls are configured to filter out all ICMP messages. When the source host does not receive an ICMP destination unreachable message from a device that is unable to forward a packet without fragmentation, it will not know to reduce the packet size. The source host will continue to retransmit the same large packet. Because the DF bit is set, these packets will be continually dropped because they exceed the path MTU, and the connection will stop responding. MTU Tuning Using TCP MSS AdvertisingBecause PMTUD can be unreliable, an alternate method of performing MTU tuning was introduced. This method of MTU tuning takes advantage of TCP Maximum Segment Size (MSS) advertisements in the incoming and outgoing synchronize (SYN) packets sent by the end hosts. The TCP MSS defines the maximum amount of data that a host is willing to accept in a single TCP/IP datagram. The MSS value is sent as a TCP header option only in TCP SYN segments. Each side of a TCP connection reports its MSS value to the other side. The sending host is required to limit the size of data in a single TCP segment to a value less than or equal to the MSS reported by the receiving host. If you configure a lower TCP MSS than the usual default of 1460, the size of TCP segments will be reduced to compensate for the information added by the L2TP header. MTU Tuning Using PPP MRU AdvertisingAnother option for reducing fragmentation in an L2TP VPDN network requires that Maximum Receive Unit (MRU) negotiation is supported by the PPP client. One known client which supports MRU negotiations is the Windows XP PPP client. Unfortunately, other commonly deployed PPP clients do not adhere to the advertised PPP MRU as they should. To determine if your PPP client properly responds to the advertised PPP MRU, see the PPP client documentation. PPP MRU allows a peer to advertise its maximum receive unit, which is derived from the MTU configuration on the virtual template interface. A device will not process a PPP frame with a payload larger than its advertised MRU. The Cisco PPP implementation uses the MTU of the interface as the advertised MRU value during PPP negotiations. The MTU of a virtual template interface can be manually lowered to compensate for the size of the L2TP header. If the PPP peer listens to the MRU advertised during PPP negotiation, it will adjust its MTU (and indirectly its IP MTU) for that PPP link. This in turn will modify the TCP MSS that the peer advertises when opening up TCP connections. Because the default MTU for an interface is 1500 bytes, the default MRU is 1500 bytes. Setting the MTU of an interface to 1460 changes the advertised MRU to 1460. This configuration would tell the peer to allow room for a 40-byte L2TP header. One issue with lowering the MTU on the virtual-template interface is that the IP MTU is automatically lowered as well. It is not possible to configure an IP MTU greater than the MTU on a virtual template interface. This can be an issue if there is a mixture of peer devices that do and do not adjust their MTU based on the advertised MRU. The clients that are unable to listen to MRU advertisements and adjust accordingly will continue to send full-sized packets to the peer. Packets that are larger than the lowered IP MTU, yet smaller than the normal default IP MTU, will be forced to fragment. For example, an L2TP packet that is 1490 bytes would normally be transmitted without fragmentation. If the MTU has been lowered to 1460 bytes, this packet will be unnecessarily fragmented. In this situation, it would be optimal to advertise a lower MRU to those clients that are capable of listening and adjusting, yet still allow full-sized packets for those clients that are unable to adjust. Clients that ignore the advertised MRU might experience the PMTUD problems described in the MTU Tuning Using IP MTU Adjustments. PMTUD can be turned off by clearing the DF bit on the inner IP packet. QoS for VPDN TunnelsQuality of service (QoS) packet classification features provide the capability to partition network traffic into multiple priority levels or classes of service. Packet classifications provide the information required to coordinate QoS from end to end within and between networks. Packet classifications are used by other QoS features to assign the appropriate traffic handling policies, including congestion management, bandwidth allocation, and delay bounds for each traffic class. Packets can be marked for end-to-end QoS using the type of service (ToS) byte in the IP header. The first three bits of the ToS byte are used for IP precedence settings. Four of the remaining five bits are used to set the ToS. The remaining bit of the ToS byte is unassigned. In a VPDN deployment, IP packets might be classified by an external source such as the customer network or a downstream client. By default, a tunnel endpoint will set the ToS byte in the Layer 2 header to zero, specifying normal service. Depending on the VPDN deployment, you can choose to configure your VPDN network to do one of the following in regard to QoS classifications:
These sections provide additional information on QoS options for VPDN deployments: QoS Classification PreservationWhen Layer 2 packets are created the ToS byte value is set to zero by default, indicating normal service. This setting ignores the values of the ToS byte of the encapsulated IP packets that are being tunneled. The tunnel server can be configured to copy the contents of the ToS field of the inner IP packets to the ToS byte of the Layer 2 header. Copying the ToS field from the IP header to the Layer 2 header preserves end-to-end QoS for tunneled packets. IP Precedence for VPDN TunnelsIP precedence settings mark the class of service (CoS) for a packet. The three precedence bits in the ToS field of the IP header can be used to define up to six classes of service. If you choose to manually configure a specific IP precedence value for Layer 2 packets, QoS will not be preserved end-to-end across the tunnel. ToS Classification for VPDN TunnelsThe ToS bits mark the ToS classification for a packet. Each of the four bits controls a particular aspect of the ToS--reliability, throughput, delay, and cost. If you choose to manually configure a specific ToS value for Layer 2 packets, QoS will not be preserved end-to-end across the tunnel. VPDN Group SelectionThe VPDN Group Selection feature allows configuration of multiple VPDN tunnels, between a LAC and LNS, with different VPDN group configurations. Prior to Cisco IOS 12.4(20)T, a Service Provider (SP) can only control the establishment of a VPDN-group tunnel to an LNS based on the LAC hostname. VPDN tunnels, from a LAC with a particular hostname, can be established only to one VPDN group. The VPDN Group Selection feature introduces two new keys that allow an LNS to connect to multiple VPDN tunnels from the same LAC, and to bind to different VPDN groups that use a different VPDN template for customized configurations. These keys are:
The VPDN Group Selection feature allows the LAC to build VPDN tunnels to either different IP addresses or different VRFs. Benefits of VPDN Group SelectionThe VPDN Group Selection feature allows SPs to support multiple VPDN groups or tunnels between a LAC and LNS by using the new VPDN group selection keys destination IP address or VRF ID, in addition to the previously supported hostname selection key. Prior to Cisco IOS Release 12.4(20)T, the key to select the VPDN group was only the LAC hostname, preventing the use of separate VPDN groups for each tunnel. Beginning with Cisco IOS Release 12.4(20)T, the VPDN Group Selection feature enables SPs to provide customize configurations for each VPDN tunnel. How to Configure Additional VPDN Features
Configuring a Dial-Out L2TP VPDNConfiguring a dial-out VPDN enables a tunnel server to send outbound calls over a VPDN tunnel using L2TP as the tunneling protocol. Dial-out VPDN configuration allows a centralized network to efficiently and inexpensively establish a virtual point-to-point connection with any number of remote offices. Cisco routers can carry both dial-in and dial-out calls in the same L2TP tunnels. These tasks must be completed to configure a dial-out L2TP VPDN:
Prerequisites for Configuring a Dial-Out L2TP VPDNComplete the required tasks in the Configuring AAA for VPDNs module. Restrictions for Configuring a Dial-Out L2TP VPDN
Configuring the Tunnel Server to Request Dial-OutThe tunnel server must be configured to request the establishment of a VPDN tunnel with the NAS when it is directed to tunnel outbound PPP data. The VPDN group is linked to the dialer profile by the dialer pool number. Perform this task to configure the tunnel server to request the establishment of a dial-out VPDN tunnel and to specify the dialer rotary group or dialer pool that can issue dial requests to the VPDN group. DETAILED STEPS
Configuring the Dialer on the Tunnel ServerA request to tunnel outbound data from the tunnel server must be associated with a dialer profile. A dialer profile must be configured for each dial-out destination. DETAILED STEPS Configuring the NAS to Accept Dial-OutThe NAS must be configured to accept outbound tunnels from the tunnel server, and to initiate PPP calls to the destination client. Outbound calls will be placed using the dialer interface specified in the VPDN group configuration. Perform this task to configure the NAS to accept tunneled dial-out connections from the tunnel server. If multiple NASs are configured on the tunnel server, perform this task on each NAS. DETAILED STEPS
Configuring the Dialer on the NASWhen the NAS receives outbound data from the tunnel server, it must initiate a PPP call to the destination client. The dialer used to initiate calls is specified in the VPDN group configuration, and must match the dialer rotary group number. Perform this task to configure the dialer on the NAS for dial-out VPDN. DETAILED STEPS
Configuring L2TP Security for VPDN TunnelsL2TP security provides enhanced security for tunneled PPP frames between the NAS and the tunnel server, increasing the integrity and confidentiality of tunneled PPP sessions within a standardized, well-deployed Layer 2 tunneling solution. The security features of IPSec and IKE include confidentiality, integrity checking, replay protection, authentication, and key management. Additional benefits include built-in keepalives and standardized interfaces for user authentication and accounting to AAA servers, interface statistics, standardized MIBs, and multiprotocol support. L2TP security can be configured for both NAS-initiated L2TP tunneling scenarios and client-initiated L2TP tunneling scenarios. To configure L2TP security for VPDN tunnels, perform these tasks:
Prerequisites for L2TP Security
Client-Initiated Tunnels
Configuring IPSec Protection of an L2TP Tunnel
SUMMARY STEPS
DETAILED STEPS
Creating the Security ProfileA security profile must be configured to provide IPSec protection of L2TP tunnels. For NAS-initiated L2TP tunnels, this task must be performed on both the NAS and the tunnel server. For client-initiated L2TP tunnels, this task must be performed on the tunnel server. Before You Begin
SUMMARY STEPS
DETAILED STEPS
Verifying IPSec Protection of L2TP VPDN Tunnels
Verifying Establishment of the Crypto SocketPerform this task on the NAS or the tunnel server to verify that the crypto socket is created and activated in response to VPDN tunneling events. DETAILED STEPS
Verifying the Crypto Map Configuration
SUMMARY STEPS
DETAILED STEPS
Verifying Encryption and Decryption of L2TP Packets
SUMMARY STEPS
DETAILED STEPS
Creating a VPDN TemplatePerform this task on the NAS or the tunnel server to create a VPDN template. If you remove a named VPDN template configuration, all VPDN groups that were associated with it will automatically be associated with the global VPDN template. Before You Begin
SUMMARY STEPS
DETAILED STEPS
Associating a VPDN Group with a VPDN TemplateVPDN groups are associated with the global VPDN template by default. Individual VPDN groups can be associated with a named VPDN template instead. Associating a VPDN group with a named VPDN template disassociates the VPDN group from the global VPDN template. Perform this task on the NAS or the tunnel server to associate a specific VPDN group with a named VPDN template, or to reassociate a VPDN group with the global VPDN template if it has been previously disassociated from the global VPDN template. DETAILED STEPS
Disassociating a VPDN Group from the VPDN TemplateIndividual VPDN groups can be disassociated from the VPDN template if desired, allowing the system default settings to be used for any parameters not configured in the individual VPDN group. Perform this task on the NAS or the tunnel server to disassociate a specific VPDN group from any VPDN template. DETAILED STEPS
Configuring the VPDN Source IP AddressPerform one of these tasks to configure a source IP address on a NAS or a tunnel server: Configuring the Global VPDN Source IP AddressYou can configure a single global source IP address on a device. If a source IP address is configured for a VPDN group, the global source IP address will not be used for tunnels belonging to that VPDN group. Perform this task on a tunnel endpoint to configure the global source IP address. DETAILED STEPS
Configuring the Source IP Address for a VPDN GroupYou can configure a source IP address for a specific VPDN group. If a source IP address is configured for a VPDN group, the global source IP address will not be used for tunnels belonging to that VPDN group. Perform this task on a tunnel endpoint to configure a source IP address for a specific VPDN group. DETAILED STEPS
Configuring VRF-Aware VPDN TunnelingVRF-aware VPDN tunneling can be configured locally on a NAS, tunnel server, or multihop tunnel switch, or it can be configured in the remote RADIUS server profile. Configuring VRF-aware VPDN tunneling in the RADIUS server profile will propagate the configuration only to a NAS or multihop tunnel switch. To configure VRF-aware VPDN tunnels on a tunnel server, you must configure the tunnel server locally. Perform one of these tasks to configure a VRF-aware VPDN tunnel:
Configuring VRF-Aware VPDN Tunneling LocallyVRF-aware VPDN tunneling can be configured locally on a NAS, a tunnel server, or a multihop tunnel switch. Configuring VRF-aware VPDN tunneling on a device specifies that the tunnel endpoint IP addresses configured for that VPDN group belong to the specified VRF routing table rather than the global routing table. Perform this task on the multihop tunnel switch, the NAS, or the tunnel server to configure a VPDN tunnel to belong to a VRF. Before You Begin
SUMMARY STEPS
DETAILED STEPS
Configuring VRF-Aware VPDN Tunneling on the Remote RADIUS AAA ServerVRF-aware VPDN tunneling can be configured in the remote RADIUS server profile. Configuring VRF-aware VPDN tunneling on a device specifies that the tunnel endpoint IP addresses configured for that VPDN group belong to the specified VRF routing table rather than the global routing table. Configuring VRF-aware VPDN tunneling in the RADIUS server profile will propagate the configuration only to a NAS or multihop tunnel switch. To configure VRF-aware VPDN tunnels on a tunnel server, you must configure the tunnel server locally by performing the task in the Configuring VRF-Aware VPDN Tunneling Locally section. Perform this task on the remote RADIUS server. The tunnel attributes configured in the RADIUS server profile will be propagated to the NAS or multihop tunnel switch. Before You Begin
SUMMARY STEPS
DETAILED STEPS
Performing MTU Tuning for L2TP VPDNsMTU tuning reduces or prevents packet fragmentation and reassembly of L2TP packets in a VPDN deployment. Because the tunnel server is typically the device that aggregates large numbers of sessions and traffic flows in a VPDN deployment, the performance impact of the process switching required for packet fragmentation and reassembly is most dramatic, and least desirable, on this device. A number of different methods are available to perform MTU tuning. The goal is to prevent fragmentation of packets after they have been encapsulated for tunneling. The most reliable method of MTU tuning is manually configuring the advertised TCP MSS. Perform one of these tasks to perform MTU tuning:
Manually Configuring the IP MTU for VPDN DeploymentsOne method for reducing the amount of fragmentation of tunneled packets is to manually configure the IP MTU to the largest IP packet size that will not exceed the path MTU between the NAS and the tunnel server once the full Layer 2 header is added to the packet. Perform this task on the tunnel server to lower the IP MTU manually. Before You Begin
SUMMARY STEPS
DETAILED STEPS
Enabling Automatic Adjustment of the IP MTU for VPDN DeploymentsA tunnel server can be configured to automatically adjust the IP MTU of an interface to compensate for the size of the Layer 2 header. The automatic adjustment corrects for the size of the Layer 2 header based on the MTU of the egress interface of that device. This configuration is effective in preventing fragmentation only when the MTU of that interface is the same as that of the path MTU. Perform this task on the tunnel server to enable automatic adjustment of the IP MTU. Before You Begin
SUMMARY STEPS
DETAILED STEPS
Enabling Path MTU Discovery for VPDNsIf the path MTU between the NAS and the tunnel server is variable or unknown, PMTUD can be enabled for VPDNs. PMTUD uses the DF bit in the IP header to dynamically discover the smallest MTU among all the interfaces along a routing path. When PMTUD is enabled, VPDN deployments are vulnerable to DoS attacks that use crafted ICMP messages to set a connectionâs path MTU to an impractically low value. This will cause higher layer protocols to time out because of a very low throughput, even though the connection is still in the established state. This type of attack is classified as a throughput-reduction attack. To protect against a throughput-reduction attack, configure a range of acceptable values for the path MTU. If the device receives an ICMP message that advertises a next-hop path MTU that falls outside the configured size range, the device will ignore the message. For more information on throughput-reduction attacks and for information on detecting a PMTUD attack on an L2TP VPDN deployment, see the âAdditional Referencesâ section. PMTUD might fail when performed over the Internet because some routers or firewalls are configured to filter out all ICMP messages. When the source host does not receive an ICMP Destination Unreachable message from a device that is unable to forward a packet without fragmentation, it will not know to reduce the packet size. The source host will continue to retransmit the same large packet. Because the DF bit is set, these packets will be continually dropped because they exceed the path MTU, and the connection will stop responding entirely. Perform this task on the tunnel server to enable PMTUD and to protect the L2TP VPDN deployment against throughput-reduction DoS attacks. Before You Begin
SUMMARY STEPS
DETAILED STEPS
Manually Configuring the Advertised TCP MSSManually configuring a lower value for the advertised TCP MSS reduces the size of IP packets created by TCP at the transport layer, reducing or eliminating the amount of packet fragmentation that will occur in a VPDN deployment. The default advertised TCP MSS is 1460, which allows room for the 40-byte TCP/IP header. To prevent packet fragmentation over a tunnel, additionally reduce the TCP MSS to provide space for the Layer 2 encapsulation header. Perform this task on the tunnel server to manually lower the TCP MSS. DETAILED STEPS
Configuring MRU AdvertisingYou can manually configure a lower MTU on the virtual template interface to compensate for the size of the Layer 2 header. The MTU of the interface is advertised to PPP peers as the MRU. If the peer is running a PPP client that is capable of listening to this advertisement, it can adjust its MTU (and indirectly its IP MTU) for that PPP link. This in turn modifies the TCP MSS that the peer advertises when opening up TCP connections. Because the default MTU for an interface is 1500 bytes, the default MRU is 1500 bytes. Setting the MTU of an interface to 1460 changes the advertised MRU to 1460. This configuration would tell the peer to allow room for a 40-byte Layer 2 header. Perform this task on the tunnel server to manually lower the MTU of the virtual template interface. Before You Begin
SUMMARY STEPS
A VPDN deployment must be configured.
DETAILED STEPS
Configuring VPDN Group Selection
Configuring VPDN Group Selection Based on a Hostname
SUMMARY STEPS
DETAILED STEPS
Configuring VPDN Group Selection Based on a Source IP AddressSUMMARY STEPS
DETAILED STEPS
Configuring VPDN Group Selection Based on VRFSUMMARY STEPS
DETAILED STEPS
Displaying VPDN Group SelectionsSUMMARY STEPS
DETAILED STEPS
Configuring QoS Packet Classifications for VPDNsDepending on the VPDN deployment, instead of using the default setting you can choose to configure your VPDN network to preserve QoS end to end by copying the contents of the ToS byte from the IP header to the Layer 2 header, or to manually configure custom packet classifications for the VPDN network. QoS configurations are generally required only on the tunnel server, the device that must manage and prioritize large volumes of outbound traffic. Perform this task if you choose to preserve end-to-end QoS: Perform either or both of these tasks to manually configure custom packet classifications for your VPDN deployment:
Configuring Preservation of QoS Classifications in the ToS ByteWhen Layer 2 packets are created the ToS byte value is set to zero by default, indicating normal service. This setting ignores the values of the ToS byte of the encapsulated IP packets that are being tunneled. The tunnel server can be configured to copy the contents of the ToS field of the inner IP packets to the ToS byte of the Layer 2 header. Copying the ToS field from the IP header to the Layer 2 header preserves end-to-end QoS for tunneled packets. Perform this task to configure a tunnel server to copy the ToS byte from the IP packet to the Layer 2 header. Before You Begin
SUMMARY STEPS
A VPDN deployment must be configured.
DETAILED STEPS
Manually Configuring the IP Precedence for VPDNsIP precedence bits of the ToS byte can be manually configured to set a CoS for Layer 2 packets. If you choose to manually configure a specific IP precedence value for Layer 2 packets, QoS will not be preserved end to end across the tunnel. Perform this task on the tunnel server to manually configure a CoS for Layer 2 packets. Before You Begin
SUMMARY STEPS
A VPDN deployment must be configured.
DETAILED STEPS
Manually Configuring the ToS for VPDN SessionsThe ToS bits can be manually configured to mark the ToS of a packet. If you choose to manually configure a specific ToS value for Layer 2 packets, QoS will not be preserved end-to-end across the tunnel. Perform this task on the tunnel server to manually configure a CoS for Layer 2 packets. Before You Begin
SUMMARY STEPS
A VPDN deployment must be configured.
DETAILED STEPS
Configuration Examples for Additional VPDN Features
Examples Configuring a Basic Dial-Out VPDNThe following example enables VPDN, configures a tunnel server to request dial-out VPDN tunnels for outbound PPP calls, and configures the dialer interface to place outbound calls using the VPDN tunnel: vpdn enable vpdn-group out request-dialout protocol l2tp pool-member 1 ! initiate-to ip 10.10.10.1 local name tunnelserver32 ! interface dialer 1 ip address 10.1.1.1 255.255.0 encapsulation ppp dialer remote-name router22 dialer string 5550100 dialer vpdn dialer pool 1 dialer-group 1 ppp authentication chap The following example enables VPDN, configures a NAS to accept dial-out VPDN tunnel requests, and configures a dialer interface on the NAS to place outbound calls to the PPP client: vpdn enable vpdn-group 1 accept-dialout protocol l2tp dialer 3 ! terminate-from hostname tunnelserver32 ! interface dialer 3 ip unnumbered Ethernet0 encapsulation ppp dialer in-band dialer aaa dialer-group 3 ppp authentication chap Example Configuring L2TP Dial-Out Load BalancingThe following example configures a preexisting dial-out VPDN group on a tunnel server to load balance calls across multiple NASs. Calls will be load balanced between the NASs because the same priority value has been assigned to each NAS with the initiate-to command: vpdn-group 1 initiate-to ip 10.0.58.201 priority 10 initiate-to ip 10.0.58.205 priority 10 initiate-to ip 10.0.58.207 priority 10 initiate-to ip 10.0.58.209 priority 10 Example Configuring L2TP Dial-Out Failover RedundancyThe following example configures a preexisting dial-out VPDN group on a tunnel server for failover between multiple NASs. If the NAS with the highest priority goes down, the tunnel server will fail over to a NAS with a lower priority. The highest priority value you can assign is 1. vpdn-group 1 initiate-to ip 10.0.58.201 priority 1 initiate-to ip 10.0.58.205 priority 10 initiate-to ip 10.0.58.209 priority 15 Example L2TP Dial-Out Failover Redundancy with Tunnel TimersThe following example configures a preexisting dial-out VPDN group on a tunnel server for failover using custom L2TP tunnel timers. The tunnel server is configured to retry to connect to a NAS five times, with a minimum wait of 10 seconds between attempts. If the tunnel server is not able to connect to the highest priority NAS after the specified number of retries, failover to the next highest priority NAS will occur. The tunnel server will not attempt to recontact the highest priority NAS until 420 seconds have passed. vpdn-group 1 initiate-to ip 10.0.58.201 priority 1 initiate-to ip 10.0.58.207 priority 50 initiate-to ip 10.0.58.205 priority 100 l2tp tunnel retransmit initial retries 5 l2tp tunnel retransmit initial timeout min 10 l2tp tunnel busy timeout 420 Example Configuring IPSec Protection of a NAS-Initiated L2TP TunnelThe following example configures IPSec protection of L2TP tunnels on the NAS and the tunnel server for a NAS-initiated tunneling scenario: NAS Configuration! Passwords for the L2TP tunnel authentication username NAS password 0 cisco username TS1 password 0 cisco ! ! VPDN configuration to tunnel users with the domain cisco.com to the LNS. This ! configuration has l2tp tunnel authentication enabled. ! vpdn enable vpdn-group 1 request-dialin protocol l2tp domain cisco.com ! initiate-to ip 10.0.0.13 local name NAS l2tp security crypto-profile l2tp keep-sa l2tp tunnel password cisco ! crypto isakmp policy 1 authentication pre-share ! crypto isakmp key cisco address 10.0.0.13 ! crypto ipsec transform-set esp-des-sha-transport esp-des esp-sha-hmac mode transport ! ! Crypto profile configuration which is bound to the vpdn-group shown above crypto map l2tpsec 10 ipsec-isakmp profile l2tp set transform-set esp-des-sha-transport ! interface FastEthernet0/0 ip address 10.0.0.12 255.255.255.0 crypto map l2tpsec Tunnel Server Configuration! PPP client username and password needed for CHAP authentication username userSerial10@cisco.com password 0 cisco ! ! Passwords for the L2TP tunnel authentication username NAS password 0 cisco username TS1 password 0 cisco ! ! Using address pool to assign client an IP address ip address-pool local ! ! VPDN configuration vpdn enable vpdn-group 1 accept-dialin protocol any virtual-template 1 ! terminate-from hostname NAS lcp renegotiation on-mismatch l2tp security crypto-profile l2tp keep-sa ! crypto isakmp policy 1 authentication pre-share crypto isakmp key cisco address 10.0.0.12 ! crypto ipsec transform-set esp-des-sha-transport esp-des esp-sha-hmac mode transport ! crypto map l2tpsec 10 ipsec-isakmp profile l2tp set transform-set esp-des-sha-transport ! interface FastEthernet0/0 ip address 10.0.0.13 255.255.255.0 speed 10 half-duplex crypto map l2tpsec Example Configuring IPSec Protection of a Client-Initiated L2TP TunnelThe following example configures IPSec protection of L2TP tunnels on the tunnel server for a client-initiated tunneling scenario: ! PPP client username and password needed for CHAP authentication username userSerial10@cisco.com password 0 cisco ! Passwords for the L2TP tunnel authentication. username NAS password 0 cisco username TS1 password 0 cisco ! ! Using address pool to assign client an IP address ip address-pool local ! ! VPDN configuration vpdn enable vpdn-group dial-in accept-dialin protocol l2tp virtual-template 1 ! l2tp security crypto-profile l2tp no l2tp tunnel authentication ip pmtu ! crypto ipsec transform-set esp-des-sha-transport esp-des esp-sha-hmac mode transport ! crypto map l2tpsec 10 ipsec-isakmp profile l2tp set transform-set esp-des-sha-transport set security-association lifetime seconds 120 ! interface FastEthernet0/0 ip address 10.0.0.13 255.255.255.0 speed 10 half-duplex crypto map l2tpsec Example Configuring VRF-Aware VPDN Tunnels LocallyThe following example configures a multihop tunnel switch to connect a NAS to a remote tunnel server within a VRF: NASinterface loopback 0 ip address 172.16.45.6 255.255.255.255 ! vpdn enable vpdn-group group1 request-dialin protocol l2tp domain cisco.com ! initiate-to 10.10.104.9 local name nas32 source-ip 172.16.45.6 l2tp tunnel password secret1 Multihop Tunnel Switchip vrf cisco-vrf vpn id A1:3F6C ! interface loopback 0 ip address 10.10.104.22 255.255.255.255 ! interface loopback 40 ip vrf forwarding cisco-vrf ip address 172.16.40.241 255.255.255.255 ! vpdn enable vpdn multihop ! vpdn-group mhopin accept-dialin protocol l2tp virtual-template 4 ! terminate-from hostname nas32 source-ip 10.10.104.9 l2tp tunnel password secret1 ! vpdn-group mhopout request-dialin protocol l2tp domain cisco.com ! vpn vrf cisco-vrf initiate-to ip 172.16.45.6 source-ip 172.16.40.241 local name multihop-tsw25 l2tp tunnel password secret2 Examples Configuring VRF-Aware VPDN Tunnels on the Remote RADIUS AAA ServerThe following examples configure VRF-aware VPDN tunnels for a service provider network. The AAA RADIUS server user profile defines VPDN tunnel attributes, which can propagate to multiple NASs or tunnel switches. RADIUS User Profile--VRF NameThe following example specifies that the source and destination IP addresses belong to the VPN named vpn-first:
cisco.com Password = "secret"
Service-Type = Outbound-User,
cisco-avpair = "vpdn:tunnel-id=LAC",
cisco-avpair = "vpdn:tunnel-type=l2tp",
cisco-avpair = "vpdn:ip-addresses=10.0.0.1",
cisco-avpair = "vpdn:source-ip=10.0.0.9",
cisco-avpair = "vpdn:vpn-vrf=vpn-first"
cisco-avpair = "vpdn:l2tp-tunnel-password=supersecret"
RADIUS User Profile--VRF IDThe following example specifies that the source and destination IP addresses belong to the VPN with the ID A1:3F6C:
cisco.com Password = "secret"
Service-Type = Outbound-User,
cisco-avpair = "vpdn:tunnel-id=LAC",
cisco-avpair = "vpdn:tunnel-type=l2tp",
cisco-avpair = "vpdn:ip-addresses=10.0.0.1",
cisco-avpair = "vpdn:source-ip=10.0.0.9",
cisco-avpair = "vpdn:vpn-id=A1:3F6C"
cisco-avpair = "vpdn:l2tp-tunnel-password=supersecret"
Example Enabling Path MTU Discovery for VPDNsThe following example enables PMTUD for the VPDN group named tunnelme and configures the device to accept path MTU values ranging from 576 to 1460 bytes. The device will ignore code 4 ICMP messages that specify a path MTU outside of this range. vpdn-group tunnelme ip pmtu ! vpdn pmtu maximum 1460 vpdn pmtu minimum 576 Example Configuring MRU AdvertisingThe following example manually configures an MTU of 1460 bytes for all tunnels that use the virtual template named 3. The VPDN group named mytunnels is configured to perform LCP renegotiation because it uses proxy LCP. interface virtual-template 3 mtu 1460 ! vpdn-group mytunnels lcp renegotiation always Configuration Examples for VPDN Group Selection
Example Configuring VPDN Group Selection Based on HostnameThe following example configuration shows a LAC-1 building a VPDN tunnel to an LNS, and the LNS would terminating the session on vpdn-group 1: Router> enable Router# configure terminal Router(config)# vpdn-group 1 Router(config-vpdn)# accept-dialin Router(config-vpdn-acc-in)# protocol l2tp Router(config-vpdn-acc-in)# terminate-from hostname LAC-1 Example Configuring VPDN Group Selection Based on an IP AddressThe following example configuration shows a LAC-1/LAC-2 building a VPDN tunnel to IP address 10.10.10.1, and the LNS terminating the session on vpdn-group 1. If an LAC-1/LAC-2 builds a VPDN tunnel to IP address 10.10.10.2, the LNS terminates the session on vpdn-group 2. Any source IP address match is optional. Router> enable Router# configure terminal Router(config)# vpdn-group 1 Router(config-vpdn)# accept-dialin Router(config-vpdn-acc-in)# protocol l2tp Router(config-vpdn-acc-in)# source-ip 10.10.10.1 Router(config-vpdn-acc-in)# exit Router(config-vpdn)# exit Router(config)# vpdn-group 2 Router(config-vpdn)# accept-dialin Router(config-vpdn-acc-in)# protocol l2tp Router(config-vpdn-acc-in)# source-ip 10.10.10.2 Example Configuring VPDN Group Selection Based on VRFThe following example configuration shows a LAC sending a SCCRQ on service-A, and the LNS terminating the tunnel on vpdn-group 1. When an LAC sends a SCCRQ on service-B, the LNS would terminate the tunnel on vpdn-group 2. Router> enable Router# configure terminal Router(config)# vpdn-group 1 Router(config-vpdn)# accept-dialin Router(config-vpdn-acc-in)# protocol l2tp Router(config-vpdn-acc-in)# vpn vrf service-A Router(config-vpdn-acc-in)# exit Router(config-vpdn)# vpdn-group 2 Router(config-vpdn)# accept-dialin Router(config-vpdn-acc-in)# protocol l2tp Router(config-vpdn-acc-in)# vpn vrf service-B Example Configuring VPDN Group Selection Based on a Hostname and IP AddressThe following example configuration shows a LAC-1 building a VPDN tunnel to IP address 10.10.10.1, and the LNS terminating the session on vpdn-group 1. If LAC-1 builds a VPDN tunnel to IP address 10.10.10.2, the LNS terminates the session on vpdn-group 2. If LAC-2 builds a VPDN tunnel to IP addresses 10.10.10.1 or 10.10.10.2, the LNS terminates the session on vpdn-group 3. Router> enable Router# configure terminal Router(config)# vpdn-group 1 Router(config-vpdn)# accept-dialin Router(config-vpdn-acc-in)# protocol l2tp Router(config-vpdn-acc-in)# terminate-from hostname LAC-1 Router(config-vpdn-acc-in)# source-ip 10.10.10.1 Router(config-vpdn-acc-in)# exit Router(config-vpdn)# vpdn-group 2 Router(config-vpdn)# accept-dialin Router(config-vpdn-acc-in)# protocol l2tp Router(config-vpdn-acc-in)# terminate-from hostname LAC-1 Router(config-vpdn-acc-in)# source-ip 10.10.10.2 Router(config-vpdn-acc-in)# exit Router(config-vpdn)# vpdn-group 3 Router(config-vpdn)# accept-dialin Router(config-vpdn-acc-in)# protocol l2tp Router(config-vpdn-acc-in)# terminate-from hostname LAC-2 Router(config-vpdn-acc-in)# source-ip 10.10.10.1 Router(config-vpdn-acc-in)# exit Example Configuring VPDN Group Selection Based on Hostname and VRFThe following example configuration shows a LAC-1 sending an SCCRQ on vrf service-A with any destination IP address, and the LNS terminating the VPDN tunnel on vpdn-group 1. If LAC-1 sends an SCCRQ on vrf service-B with any destination IP address, the LNS terminates the VPDN tunnel on vpdn-group 2. If LAC-2 sends an SCCRQ on vrf service-B with any destination IP address, the LNS terminates the VPDN tunnel on vpdn-group 3. Router> enable Router# configure terminal Router(config)# vpdn-group 1 Router(config-vpdn)# accept-dialin Router(config-vpdn-acc-in)# protocol l2tp Router(config-vpdn-acc-in)# vpn vrf service-A Router(config-vpdn-acc-in)# terminate-from hostname LAC-1 Router(config-vpdn-acc-in)# exit Router(config-vpdn)# vpdn-group 2 Router(config-vpdn)# accept-dialin Router(config-vpdn-acc-in)# protocol l2tp Router(config-vpdn-acc-in)# vpn vrf service-B Router(config-vpdn-acc-in)# terminate-from hostname LAC-1 Router(config-vpdn-acc-in)# exit Router(config-vpdn)# vpdn-group 3 Router(config-vpdn)# accept-dialin Router(config-vpdn-acc-in)# protocol l2tp Router(config-vpdn-acc-in)# vpn vrf service-B Router(config-vpdn-acc-in)# terminate-from hostname LAC-2 Router(config-vpdn-acc-in)# exit Example Configuring VPDN Group Selection Based on an IP Address and VRFThe following example configuration shows a LAC-1/LAC-2 sending an SCCRQ on vrf service-A to destination IP address 10.10.10.1, and the LNS terminating the VPDN tunnel on vpdn-group 1. If LAC-1/LAC-2 sends an SCCRQ on vrf service-A to destination IP address 10.10.10.2, the LNS terminates the VPDN tunnel on vpdn-group 2. Router> enable Router# configure terminal Router(config)# vpdn-group 1 Router(config-vpdn)# accept-dialin Router(config-vpdn-acc-in)# protocol l2tp Router(config-vpdn-acc-in)# vpn vrf service-A Router(config-vpdn-acc-in)# source-ip 10.10.10.1 Router(config-vpdn-acc-in)# exit Router(config-vpdn)# exit Router(config)# vpdn-group 2 Router(config-vpdn)# accept-dialin Router(config-vpdn-acc-in)# protocol l2tp Router(config-vpdn-acc-in)# vpn vrf service-A Router(config-vpdn-acc-in)# source-ip 10.10.10.2 Router(config-vpdn-acc-in)# exit Example Configuring VPDN Group Selection Based on Hostname VRF and IP AddressThe following example configuration shows a LAC-1 sending an SCCRQ on vrf service-A to destination IP address 10.10.10.1, and the LNS terminating the VPDN tunnel on vpdn-group 1. If LAC-1 sends an SCCRQ on vrf service-B to destination IP address 10.10.10.1, the LNS terminates the VPDN tunnel on vpdn-group 2. Router> enable Router# configure terminal Router(config)# vpdn-group 1 Router(config-vpdn)# accept-dialin Router(config-vpdn-acc-in)# protocol l2tp Router(config-vpdn-acc-in)# vpn vrf service-A Router(config-vpdn-acc-in)# terminate-from hostname LAC-1 Router(config-vpdn-acc-in)# source-ip 10.10.10.1 Router(config-vpdn-acc-in)# exit Router(config-vpdn)# exit Router(config)# vpdn-group 2 Router(config-vpdn)# accept-dialin Router(config-vpdn-acc-in)# protocol l2tp Router(config-vpdn-acc-in)# vpn vrf service-B Router(config-vpdn-acc-in)# terminate-from hostname LAC-1 Router(config-vpdn-acc-in)# source-ip 10.10.10.1 Router(config-vpdn-acc-in)# exit Examples Displaying VPDN Group SelectionThe VPDN Group Selection feature allows you to display VPDN group information based in a source IP address, a hostname, or VFR. For examples purposes, the following configuration will be used for the display examples. Router> enable Router# configure terminal Router(config)# vpdn-group vgdefault Router(config-vpdn)# accept-dialin Router(config-vpdn-acc-in)# protocol l2tp Router(config-vpdn-acc-in)# virtual-template 20 Router(config-vpdn-acc-in)# local name lns Router(config-vpdn)# l2tp tunnel password 0 example Router(config-vpdn)# exit Router(config)# vpdn-group vg-ip2 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)# source-ip 10.1.1.2 Router(config-vpdn)# local name lns Router(config-vpdn)# l2tp tunnel password 0 example Router(config-vpdn)# exit Router(config)# vpdn-group vg-ip3 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)# source-ip 10.1.1.3 Router(config-vpdn)# local name lns Router(config-vpdn)# l2tp tunnel password 0 example Router(config-vpdn)# exit Router(config)# vpdn-group vg-lts 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)# terminate host lts Router(config-vpdn)# local name lns Router(config-vpdn)# l2tp tunnel password 0 example Router(config-vpdn)# exit Router(config)# vpdn-group vg-lts1 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)# terminate host lts1 Router(config-vpdn)# local name lns Router(config-vpdn)# l2tp tunnel password 0 example Router(config-vpdn)# exit Router(config)# vpdn-group vg-lts1-ip2 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)# terminate host lts1 Router(config-vpdn)# source-ip 10.1.1.2 Router(config-vpdn)# local name lns Router(config-vpdn)# l2tp tunnel password 0 example Router(config-vpdn)# exit Router(config)# end Examples Displaying VPDN Group-Select SummariesThe following example shows VPDN group-select information for the example configuration.
Router# show vpdn group-select summary
VPDN Group Vrf Remote Name Source-IP Protocol Direction
vg-ip2 10.1.1.2 l2tp accept-dialin
vg-ip3 10.1.1.3 l2tp accept-dialin
vg-lts lts 0.0.0.0 l2tp accept-dialin
vg-lts1 lts1 0.0.0.0 l2tp accept-dialin
vg-lts1-ip2 vfr101 lts1 10.1.1.2 l2tp accept-dialin
vgdefault 0.0.0.0 l2tp accept-dialin
The following is sample output from the show vpdn group-select keys command for a host with the name lac-1 and an IP address of 10.0.0.1:
Router# show vpdn group-select keys vrf vrf-blue hostname lac-1 source-ip 10.0.0.1
VPDN Group Vrf Hostname Source Ip
vg1 vrf-blue lac-1 10.0.0.1
The following shows an example output for the show vpdn group-select default command for the example configuration:
Router# show vpdn group-select default
Default VPDN Group Protocol
vgdefault l2tp
None pptp
The following is sample output from the show vpdn group-select keyscommand for a host with the name lac-5 and an IP address of 10.1.1.0, and VRF name vrf-red:
Router# show vpdn group-select keys vrf vrf-red hostname lac-5 source-ip 10.1.1.0
VPDN Group Vrf Hostname Source Ip
Vg2 vrf-red lac-5 10.1.1.0
Where to Go NextYou can perform any of the relevant optional tasks in the VPDN Tunnel Management module. Additional ReferencesRelated Documents
MIBsRFCs
Technical Assistance
Feature Information for Additional VPDN FeaturesThe following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|