The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
Network access server (NAS)-initiated dial-in tunneling provides secure tunneling of a PPP session from a NAS to a tunnel server without any special knowledge or interaction required from the client.
Your 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.
NAS-initiated dial-in VPDN tunneling is also known as compulsory tunneling. In NAS-initiated dial-in VPDN tunneling, the client dials in to the NAS through a medium that supports PPP. If the connection from the client to the Internet service provider (ISP) NAS is over a medium that is considered secure, such as DSL, ISDN, or the PSTN, the client might choose not to provide additional security. The PPP session is securely tunneled from the NAS to the tunnel server without any special knowledge or interaction required from the client. NAS-initiated dial-in VPDN tunnels can use either the Layer 2 Tunneling Protocol (L2TP) or the Layer 2 Forwarding (L2F) protocol.
Note |
The Cisco ASR 1000 Series Aggregation Services Routers support only L2TP. |
A NAS-initiated dial-in tunneling scenario is shown in the figure below.
Figure 1 | NAS-Initiated Dial-In VPDN Scenario |
In a NAS-initiated dial-in L2TP tunneling scenario, when the NAS connects to a tunnel server it transfers numerous attribute-value (AV) pairs as part of the session setup process. One of these AV pairs is L2TP AV pair 22, the Calling Number ID. The Calling Number ID AV pair includes the calling station ID of the originator of the session, which can be the phone number of the originator, the Logical Line ID (LLID) used to make the connection on the LAC, or the MAC address of the PC connecting to the network. This information can be considered sensitive in cases where the NAS and tunnel server are being managed by different entities. Depending on the security requirements of the NAS or end users, it might be desirable for the NAS to suppress part or all of the calling station ID.
Parts of the calling station ID can be masked, or the calling station ID can be removed completely. Calling station ID suppression can be configured globally on the NAS, for individual VPDN groups on the NAS, or on the remote RADIUS server if one is configured.
If a NAS fails to contact its peer during L2TP tunnel establishment, it can fail over to another configured tunnel server and attempt tunnel establishment with that device.
Failover can occur in these scenarios:
In both the StopCCN control message and the CDN control message, a Result Code AV pair is included, which indicates the reason for tunnel or session termination, respectively. This AV pair might also include an optional Error Code, which further describes the nature of the termination. The various Result Code and Error Code values have been standardized in RFC 2661. Failover will occur if the combination of Result Code and Error Code values as defined in the table below is received from the peer.
Table 1 | Defined Result and Error Codes from RFC 2661 |
Control Message |
Result Code |
Error Code |
---|---|---|
StopCCN, CDN |
2: General error, see Error Code. |
4: Insufficient resources to handle this operation now. 6: A generic vendor-specific error occurred.1 7: Try another. 9: Try another directed. |
CDN |
4: Temporary lack of resources. |
-- |
When one of the three scenarios occurs, the router marks the peer IP address as busy for 60 seconds by default. During that time no attempt is made to establish a session or tunnel with the peer. The router selects an alternate peer to contact if one is configured. If a tunnel already exists to the alternate peer, new sessions are brought up in the existing tunnel. Otherwise, the router begins negotiations to establish a tunnel to the alternate peer.
The NAS must be configured to request tunnel establishment with the remote tunnel server. Perform this task on the NAS to configure a VPDN request dial-in subgroup and the IP address of the tunnel server that will be the other endpoint of the VPDN tunnel.
You must perform the task in the Configuring the Tunnel Server to Accept Dial-In VPDN Tunnels section.
The tunnel server must be configured to accept tunnel requests from the remote NAS. Perform this task on the tunnel server to create a VPDN accept dial-in subgroup and to configure the tunnel server to accept tunnels from the NAS that will be the other endpoint of the VPDN tunnel. To configure the tunnel server to accept tunnels from multiple NASs, you must perform this task for each NAS.
Command or Action | Purpose | |||
---|---|---|---|---|
|
Example: Router> enable |
Enables privileged EXEC mode.
|
||
|
Example: Router# configure terminal |
Enters global configuration mode. |
||
|
Example: Router(config)# vpdn-group 1 |
Creates a VPDN group and enters VPDN group configuration mode. |
||
|
Example: Router(config-vpdn)# description myvpdngroup |
(Optional) Adds a description to a VPDN group. |
||
|
Example: Router(config-vpdn)# accept-dialin |
Configures a tunnel server to accept requests from a NAS to establish an L2F or L2TP tunnel, creates an accept-dialin VPDN subgroup, and enters VPDN accept dial-in subgroup configuration mode. |
||
|
Example: Router(config-vpdn-acc-in)# protocol l2tp |
Specifies the Layer 2 protocol that the VPDN group will use. |
||
|
Example: Router(config-vpdn-acc-in)# virtual-template 1 |
Specifies which virtual template will be used to clone virtual access interfaces. |
||
|
Example: Router(config-vpdn-acc-in)# exit |
Exits to VPDN group configuration mode. |
||
|
Example: Router(config-vpdn)# terminate-from hostname NAS12 |
Specifies the hostname of the remote NAS that will be required when accepting a VPDN tunnel. |
||
|
Example: Router(config-vpdn)# lcp renegotiation always |
(Optional) Allows the tunnel server to renegotiate the PPP Link Control Protocol (LCP) on dial-in calls using L2TP or L2F.
|
||
|
Example: Router(config-vpdn)# force-local-chap |
(Optional) Forces the tunnel server to reauthenticate the client.
|
You must perform the task in the Configuring the Virtual Template on the Tunnel Server section.
When a request to establish a tunnel is received by the tunnel server, the tunnel server must create a virtual access interface. The virtual access interface is cloned from a virtual template interface, used, and then freed when no longer needed. The virtual template interface is a logical entity that is not tied to any physical interface.
Perform this task on the tunnel server to configure a basic virtual template .
Command or Action | Purpose | |||
---|---|---|---|---|
|
Example: Router> enable |
Enables privileged EXEC mode. |
||
|
Example: Router# configure terminal |
Enters global configuration mode. |
||
|
Example: Router(config)# interface virtual-template 1 |
Enters interface configuration mode and creates a virtual template interface that can be configured and applied dynamically in creating virtual access interfaces. |
||
|
Example: Router(config-if)# ip unnumbered FastEthernet 0/0 |
Enables IP processing on a serial interface without assigning an explicit IP address to the interface.
|
||
|
Example: Router(config-if)# ppp authentication chap |
Enables at least one PPP authentication protocol and specifies the order in which the protocols are selected on the interface. |
||
|
Example: Router(config-if)# peer default ip address pool mypool |
Specifies an IP address, an address from a specific IP address pool, or an address from the Dynamic Host Configuration Protocol (DHCP) mechanism to be returned to a remote peer connecting to this interface. |
||
|
Example: Router(config-if)# encapsulation ppp |
Sets the encapsulation method used by the interface. |
Perform this task to verify that a tunnel between the NAS and the tunnel server has been established, and to troubleshoot problems with tunnel establishment.
Step 1 |
enable Enter this command to enable privileged EXEC mode. Enter your password if prompted: Example: Router> enable |
Step 2 |
show vpdn tunnel all Enter this command to display details about all active VPDN tunnels. This example shows an example of No active L2TP tunnels: Example: Router# show vpdn tunnel all % No active L2TP tunnels . . . If no active tunnels have been established with the NAS, proceed with the following steps to troubleshoot the problem. |
Step 3 |
ping ip-address Enter this command to ping the NAS. The following output shows the result of a successful ping from the tunnel server to the NAS: Example: Router# ping 172.22.66.25 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.30.2.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 128/132/152 ms If the tunnel server is unable to ping the NAS, there might be a problem with the routing path between the devices, or the NAS might not be functional. |
Step 4 |
debug vpdn event Enter this command to display the VPDN events that occur during tunnel establishment. The following output from the tunnel server shows normal VPDN tunnel establishment for an L2TP tunnel: Example: Router# debug vpdn event 20:19:17: L2TP: I SCCRQ from ts1 tnl 8 20:19:17: L2X: Never heard of ts1 20:19:17: Tnl 7 L2TP: New tunnel created for remote ts1, address 172.21.9.4 20:19:17: Tnl 7 L2TP: Got a challenge in SCCRQ, ts1 20:19:17: Tnl 7 L2TP: Tunnel state change from idle to wait-ctl-reply 20:19:17: Tnl 7 L2TP: Got a Challenge Response in SCCCN from ts1 20:19:17: Tnl 7 L2TP: Tunnel Authentication success 20:19:17: Tnl 7 L2TP: Tunnel state change from wait-ctl-reply to established 20:19:17: Tnl 7 L2TP: SM State established 20:19:17: Tnl/Cl 7/1 L2TP: Session FS enabled 20:19:17: Tnl/Cl 7/1 L2TP: Session state change from idle to wait-for-tunnel 20:19:17: Tnl/Cl 7/1 L2TP: New session created 20:19:17: Tnl/Cl 7/1 L2TP: O ICRP to ts1 8/1 20:19:17: Tnl/Cl 7/1 L2TP: Session state change from wait-for-tunnel to wait-connect 20:19:17: Tnl/Cl 7/1 L2TP: Session state change from wait-connect to established 20:19:17: Vi1 VPDN: Virtual interface created for user1@cisco.com 20:19:17: Vi1 VPDN: Set to Async interface 20:19:17: Vi1 VPDN: Clone from Vtemplate 1 filterPPP=0 blocking 20:19:18: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to up 20:19:18: Vi1 VPDN: Bind interface direction=2 20:19:18: Vi1 VPDN: PPP LCP accepting rcv CONFACK 20:19:19: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access1, changed state to up |
Step 5 |
debug vpdn errors Enter this command to display error messages that are generated during tunnel establishment. The following output from the NAS shows an authentication failure during tunnel establishment. Example: Router# debug vpdn errors %LINEPROTO-5-UPDOWN: Line protocol on Interface Async1, changed state to down %LINK-5-CHANGED: Interface Async1, changed state to reset %LINK-3-UPDOWN: Interface Async1, changed state to down %LINK-3-UPDOWN: Interface Async1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Async1, changed state to up VPDN tunnel management packet failed to authenticate VPDN tunnel management packet failed to authenticate If an authentication failure occurs, verify that both the NAS and the tunnel server are configured with the same secret password. You can also perform tasks to verify L2TP tunnel establishment, PPP negotiations, and authentication with the remote client as described in the Configuring AAA for VPDNs module. |
Perform this task to verify the connection between the dial-in client and the NAS.
Step 1 |
Dial in to the NAS from a client PC. Ensure that the client PC is able to connect to the NAS by establishing a dial-in connection. As the call comes into the NAS, a LINK-3-UPDOWN message automatically appears on the NAS terminal screen. In the following example, the call comes into the NAS on asynchronous interface 14: Example: *Jan 1 21:22:18.410: %LINK-3-UPDOWN: Interface Async14, changed state to up
If this message is not displayed by the NAS, there is a problem with the dial-in configuration.
|
||
Step 2 |
enable Enter this command to enable privileged EXEC mode. Enter your password if prompted: Example: Router> enable |
||
Step 3 |
show caller user user Enter this command on the tunnel server to verify that the client received an IP address. The following example shows that user3 is using IP address 10.0.0.1. Example: Router# show caller user user3@cisco.com User: user3@cisco.com, line Vi2.502, service PPPoVPDN Connected for 1d10h Timeouts: Limit Remaining Timer Type - - - PPP: LCP Open, CHAP (<-), IPCP IP: Local 10.0.0.1, remote 172.16.2.247 Counts: 2052 packets input, 32826 bytes 2053 packets output, 106742 bytes If an incorrect IP address or no IP address is displayed, there is a problem with IP addresses assignment. Verify the configuration of the peer default ip address command in the virtual template on the tunnel server. |
||
Step 4 |
show interfaces virtual-access number Enter this command to verify that the interface is up, that LCP is open, and that no errors are reported. The following output shows a functional interface: Example: Router# show interfaces virtual-access 2.502 Virtual-Access2.502 is up, line protocol is up Hardware is Virtual Access interface Interface is unnumbered. Using address of Loopback1001 (60.0.0.1) MTU 1454 bytes, BW 2000000 Kbit, DLY 100000 usec, reliability 255/255, txload 1/255, rxload 5/255 Encapsulation PPP, LCP Open Open: IPCP PPPoVPDN vaccess, cloned from Virtual-Template1 Vaccess status 0x0 Protocol l2tp, tunnel id 30485, session id 55909 Keepalive set (60 sec) 2056 packets input, 32890 bytes 2057 packets output, 106950 bytes Last clearing of ''show interface'' counters never The virtual access interface is up and the line protocol is up, showing that virtual interface establishment was successful. |
||
Step 5 |
show vpdn session Enter this command on the tunnel server to verify that there are active VPDN sessions. This example shows output from a tunnel server with several active tunnels. Example: Router# show vpdn session L2TP Session Information Total tunnels 4000 sessions 15960 LocID RemID TunID Username, Intf/ State Last Chg Uniq ID Vcid, Circuit 43202 40336 22 user@ci..., Vi2.9171 est 1d10h 9184 34090 31996 22 user@ci..., Vi2.1734 est 1d10h 1735 1217 42591 22 user@ci..., Vi2.9312 est 1d10h 9325 6737 22325 22 user@ci..., Vi2.1729 est 1d10h 1730 59420 17035 34 user@ci..., Vi2.9338 est 1d10h 9351 45069 60982 34 user@ci..., Vi2.1645 est 1d10h 1646 27825 44751 34 user@ci..., Vi2.1653 est 1d10h 1654 24600 7627 34 user@ci..., Vi2.9096 est 1d10h 9109 13018 65037 43 user@ci..., Vi2.8166 est 1d10h 8179 43090 34448 43 user@ci..., Vi2.8176 est 1d10h 8189 31798 41505 43 user@c..., Vi2.15752 est 1d10h 15765 56832 64322 43 user@c..., Vi2.15655 est 1d10h 15668 53944 25409 48 user@c..., Vi2.14115 est 1d10h 14128 16215 52915 48 user@c..., Vi2.14134 est 1d10h 14147 17332 14000 48 user@ci..., Vi2.6630 est 1d10h 6643 12466 54817 48 user@ci..., Vi2.6622 est 1d10h 6635 28290 37822 50 user@ci..., Vi2.5094 est 1d10h 15905 44839 30137 50 user@c..., Vi2.15875 est 1d10h 15888 If there is no session established for the client, perform the troubleshooting steps in the Verifying and Troubleshooting Tunnel Establishment Between the NAS and the Tunnel Server. |
Calling station ID suppression can be configured globally on the NAS, for individual VPDN groups on the NAS, or on the remote RADIUS server if one is configured.
The order of precedence for L2TP calling station ID suppression configurations is as follows:
Perform one or more of the following tasks to configure L2TP calling station ID suppression:
The calling station ID information included in L2TP AV pair 22 can be removed or masked for every L2TP session established on the router if you configure L2TP calling station ID suppression globally. This configuration is compatible with either local or remote authorization.
Perform this task on the NAS to configure global L2TP calling station ID suppression.
Command or Action | Purpose | |
---|---|---|
|
Example: Router> enable |
Enables privileged EXEC mode.
|
|
Example: Router# configure terminal |
Enters global configuration mode. |
|
Example: Router(config)# vpdn l2tp attribute clid mask-method right # 6 match %321 |
Configures a NAS to suppress L2TP calling station IDs globally on the router.
|
The calling station ID information included in L2TP AV pair 22 can be removed or masked for calls associated with a specific VPDN group. This configuration is compatible with local authorization configurations.
Perform this task on the NAS to configure L2TP calling station ID suppression for calls associated with a particular VPDN group when using local authorization.
Command or Action | Purpose | |
---|---|---|
|
Example: Router> enable |
Enables privileged EXEC mode. |
|
Example: Router# configure terminal |
Enters global configuration mode. |
|
Example: Router(config)# vpdn-group L2TP |
Creates a VPDN group and enters VPDN group configuration mode. |
|
Example: Router (config-vpdn)# l2tp attribute clid mask-method remove |
Configures a NAS to suppress L2TP calling station IDs for sessions associated with a VPDN group or VPDN template.
|
L2TP calling station ID suppression can be configured directly on the NAS, or in the RADIUS user profile. Configuring L2TP calling station ID suppression in the RADIUS user profile allows the configuration to be propagated to multiple NASs without having to configure each one.
Perform this task on the RADIUS server to configure a user profile that will allow the RADIUS server to instruct NASs to remove or mask the L2TP calling station ID.
Command or Action | Purpose | |
---|---|---|
|
Example: Cisco-Avpair = vpdn:l2tp-tunnel-password=cisco |
Specifies the L2TP tunnel password in the RADIUS user profile. |
|
Example: Cisco-Avpair = vpdn:tunnel-type=l2tp |
Specifies L2TP as the tunneling protocol in the RADIUS user profile. |
|
Example: Cisco-Avpair = vpdn:tunnel-id=test |
Specifies the tunnel ID in the RADIUS user profile. |
|
Example: Cisco-Avpair = vpdn:ip-address=172.16.9.9 |
Specifies the NAS IP address in the RADIUS user profile. |
|
Example: Cisco-Avpair = vpdn:l2tp-clid-mask-method= right:#:5 |
Specifies L2TP calling station ID suppression parameters in the RADIUS user profile. |
The following example configures a NAS named ISP-NAS to tunnel PPP calls to a tunnel server named ENT-TS using L2TP and local authentication and authorization:
! Enable AAA authentication and authorization with RADIUS as the default method aaa new-model aaa authentication ppp default radius aaa authorization network default radius ! ! Configure the VPDN tunnel authentication password using the local name username ISP-NAS password 7 tunnelme username ENT-TS password 7 tunnelme ! vpdn enable ! ! Configure VPN to first search on the client domain name and then on the DNIS vpdn search-order domain dnis ! ! Allow a maximum of 10 simultaneous VPDN sessions vpdn session-limit 10 ! ! Configure the NAS to initiate VPDN dial-in sessions to the tunnel server vpdn-group 1 request-dialin protocol l2tp domain cisco.com ! initiate-to ip 172.22.66.25 local name ISP-NAS ! ! Specifies the RADIUS server IP address, authorization port, and accounting port radius-server host 172.22.66.16 auth-port 1645 acct-port 1646 ! ! Specifies the authentication key to be used with the RADIUS server radius-server key cisco !
The following example show a tunnel server named ENT-TS configured to accept L2TP tunnels from a NAS named ISP-NAS using local authentication and authorization:
! Configure AAA to first use the local database and then contact the RADIUS server for ! PPP authentication aaa new-model aaa authentication ppp default local radius ! ! Configure AAA network authorization and accounting by using the RADIUS server aaa authorization network default radius aaa accounting network default start-stop radius ! ! Configure the VPDN tunnel authentication password using the local name username ISP-NAS password 7 tunnelme username ENT-TS password 7 tunnelme ! vpdn enable ! ! Configure the tunnel server to accept dial-in sessions from the NAS vpdn-group 1 accept-dialin protocol l2tp virtual-template 1 ! terminate-from hostname ISP-NAS local name ENT-TS force-local-chap ! ! Configure the virtual template interface Virtual-Template1 gigabitethernet0/0/0 ppp authentication chap peer default ip address pool default encapsulation ppp ! ! Specifies the RADIUS server IP address, authorization port, and accounting port radius-server host 172.22.66.13 auth-port 1645 acct-port 1646 ! ! Specifies the authentication key to be used with the RADIUS server radius-server key cisco
The following example configures a NAS for PPP over Gigabit Ethernet over virtual LAN (PPPoEoVLAN). The NAS obtains a calling station ID from LLID NAS port preauthorization through RADIUS. The calling station ID will be removed from AV pair 22 for tunnels associated with the VPDN group named L2TP if the string #184 is included in the username.
hostname LAC ! enable secret 5 $1$8qtb$MHcYeW2kn8VNYgz932eXl. enable password lab ! aaa new-model ! aaa group server radius LLID-Radius server 192.168.1.5 auth-port 1645 acct-port 1646 ! aaa group server radius LAC-Radius server 192.168.1.6 auth-port 1645 acct-port 1646 ! aaa authentication ppp default local aaa authorization network default local aaa authorization network LLID group LLID-Radius aaa accounting network default start-stop group LAC-Radius aaa nas port extended aaa session-id common ! ip subnet-zero ip cef no ip domain lookup ! vpdn enable vpdn search-order domain ! vpdn-group L2TP request-dialin protocol l2tp domain cisco.com domain cisco.com#184 ! initiate-to ip 192.168.1.4 local name test l2tp tunnel password 0 cisco l2tp attribute clid mask-method remove match #184 ! bba-group ppoe 2 virtual-template 1 nas-port format d 2/2/4 ! subscriber access pppoe pre-authorize nas-port-id LLID send username ! interface Loopback0 no ip address ! interface Loopback1 ip address 10.1.1.1 255.255.255.0 ! interface gigabitethernet0/0/0 ip address 192.168.1.3 255.255.255.0 no cdp enable ! interface gigabitethernet0/0/0.20 encapsulation dot1Q 1024 no snmp trap link-status ppoe enable group 2 pppoe max-sessions 200 no cdp enable ! interface gigabitethernet1/0/0 ip address 10.1.1.10 255.255.255.0 no cdp enable ! interface Serial2/0/0 no ip address shutdown serial restart-delay 0 ! interface Serial3/0/0 no ip address shutdown serial restart-delay 0 ! interface Virtual-Template1 ip unnumbered gigabitethernet1/0/0 ip mroute-cache no peer default ip address ppp authentication pap ! ip classless ip route 0.0.0.0 0.0.0.0 gigabitethernet0/0/0 ip route 10.0.0.0 255.0.0.0 gigabitethernet1/0/0 ! no ip http server ! radius-server attribute 69 clear radius-server host 192.168.1.5 auth-port 1645 acct-port 1646 radius-server host 192.168.1.6 auth-port 1645 acct-port 1646 radius-server domain-stripping delimiter # radius-server key cisco radius-server vsa send accounting radius-server vsa send authentication ! control-plane ! line con 0 exec-timeout 0 0 line aux 0 line vty 0 4 password lab
The following example configures a NAS for PPPoEoVLAN. The NAS obtains a calling station ID from LLID NAS port preauthorization through RADIUS. The RADIUS user profile specifies that the calling station ID should be masked by replacing the rightmost six characters with the character X.
hostname LAC ! enable secret 5 $1$8qtb$MHcYeW2kn8VNYgz932eXl. enable password lab ! aaa new-model ! aaa group server radius LLID-Radius server 192.168.1.5 auth-port 1645 acct-port 1646 ! aaa group server radius LAC-Radius server 192.168.1.6 auth-port 1645 acct-port 1646 ! aaa authentication ppp default local aaa authorization network default group LAC-Radius aaa authorization network LLID group LLID-Radius aaa accounting network default start-stop group LAC-Radius aaa nas port extended aaa session-id common ! ip subnet-zero ip cef no ip domain lookup ! vpdn enable vpdn search-order domain ! bba-group ppoe 2 virtual-template 1 nas-port format d 2/2/4 ! subscriber access pppoe pre-authorize nas-port-id LLID send username ! interface Loopback0 no ip address ! interface Loopback1 ip address 10.1.1.1 255.255.255.0 ! interface gigabitethernet0/0/0 ip address 192.168.1.3 255.255.255.0 no cdp enable ! interface gigabitethernet0/0/0.20 encapsulation dot1Q 1024 no snmp trap link-status pppoe enable group 2 pppoe max-sessions 200 no cdp enable ! interface gigabitethernet1/0/0 ip address 10.1.1.10 255.255.255.0 no cdp enable ! interface Serial2/0/0 no ip address shutdown serial restart-delay 0 ! interface Serial3/0/0 no ip address shutdown serial restart-delay 0 ! interface Virtual-Template1 ip unnumbered gigabitethernet1/0/0 ip mroute-cache no peer default ip address ppp authentication pap ! ip classless ip route 0.0.0.0 0.0.0.0 gigabitethernet0/0/0 ip route 10.0.0.0 255.0.0.0 gigabitethernet1/0/0 ! no ip http server ! radius-server attribute 69 clear radius-server host 192.168.1.5 auth-port 1645 acct-port 1646 radius-server host 192.168.1.6 auth-port 1645 acct-port 1646 radius-server domain-stripping delimiter # radius-server key cisco radius-server vsa send accounting radius-server vsa send authentication ! control-plane ! line con 0 exec-timeout 0 0 line aux 0 line vty 0 4 password lab
Cisco-Avpair = vpdn:l2tp-tunnel-password=cisco Cisco-Avpair = vpdn:tunnel-type=l2tp Cisco-Avpair = vpdn:tunnel-id=test Cisco-Avpair = vpdn:ip-address=192.168.1.4 Cisco-Avpair = vpdn:l2tp-clid-mask-method=right:X:6
You can perform any of the relevant optional tasks in the Configuring Additional VPDN Features and in the VPDN Tunnel Management modules.
Related Topic |
Document Title |
---|---|
Cisco IOS commands |
|
VPDN commands |
Cisco IOS VPDN Command Reference |
VPDN technology overview |
VPDN Technology Overview |
Technical support documentation for L2TP |
|
Technical support documentation for VPDNs |
Standard |
Title |
---|---|
No new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature. |
-- |
MIB |
MIBs Link |
---|---|
To locate and download MIBs for selected platforms, Cisco software releases, and feature sets, use Cisco MIB Locator found at the following URL: |
RFC |
Title |
---|---|
RFC 2661 |
Layer Two Tunneling Protocol (L2TP) |
Description |
Link |
---|---|
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password. |
The 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.
Table 2 | Feature Information for NAS-Initiated Dial-In VPDN Tunneling |
Feature Name |
Software Releases |
Feature Information |
---|---|---|
L2TP Calling Station ID Suppression |
Cisco IOS XE Release 2.1 |
This feature was introduced on Cisco ASR 1000 Series Aggregation Services Routers. This feature allows the NAS to suppress part or all of the calling station ID from the NAS in the L2TP AV pair 22, the Calling Number ID. Calling station ID suppression can be configured globally on the router, for individual VPDN groups on the router, or on the remote RADIUS server if one is configured. The following commands were introduced by this feature: l2tp attribute clid mask-method, vpdn l2tp attribute clid mask-method. |
L2TP Extended Failover |
Cisco IOS XE Release 2.1 |
This feature was introduced on Cisco ASR 1000 Series Aggregation Services Routers. This feature extends L2TP failover to occur if, during tunnel establishment, a router receives a StopCCN message from its peer, or during session establishment a router receives a CDN message from its peer. In either case, the router selects an alternate peer to contact. No commands were introduced or modified by this feature. |
Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other countries. A listing of Cisco's trademarks can be found at www.cisco.com/go/trademarks. Third party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1005R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.