![background image](http://html.mh-extra.com/html/cisco/asr-5x00-home-enodeb/asr-5x00-home-enodeb_administration-manual_64831407.webp)
L2TP Access Concentrator
Modifying APN Templates to Support L2TP ▀
Cisco ASR 5x00 Packet Data Network Gateway Administration Guide ▄
407
Modifying APN Templates to Support L2TP
This section provides instructions for adding L2TP support for APN templates configured on the system.
Important:
This section provides the minimum instruction set for configuring LAC service support on the
system. For more information on commands that configure additional parameters and options, refer to the
LAC Service
Configuration Mode Commands
chapter in the
Command Line Interface Reference
.
To configure the LAC services on system:
Step 1
Modify the APN template to support L2TP with LNS server address and other parameters by applying the example
configuration in the
Assigning LNS Peer Address in APN Template
section.
Step 2
Optional. If L2TP will be used to tunnel transparent IP PDP contexts, configure the APN’s outbound username and
password by applying the example configuration in the
Configuring Outbound Authentication
section.
Step 3
Verify your APN configuration by following the steps in the
Verifying the APN Configuration
section.
Step 4
Save your configuration to flash memory, an external memory device, and/or a network location using the Exec mode
command
save configuration
. For additional information on how to verify and save configuration files, refer to the
System Administration Guide
and the
Command Line Interface Reference
.
Assigning LNS Peer Address in APN Template
Use following example to assign LNS server address with APN template:
configure
context <
dst_ctxt_name
> [-noconfirm]
apn <
apn_name
>
tunnel l2tp [ peer-address <
lns_address
> [ [ encrypted ] secret <
l2tp_secret
> ]
[ preference <
integer
> ] [ tunnel-context <
l2tp_context_name
> ] [ local-address
<
local_ip_address
> ] [ crypto-map <
map_name
> { [ encrypted ] isakmp-secret
<
crypto_secret
> } ]
end
Notes:
<
dst_ctxt_name
> is the name of system destination context in which the APN is configured.
<
apn_name
> is the name of the pre-configured APN template which you want to modify for the L2TP support.
<
lns_address
> is the IP address of LNS server node and <
local_ip_address
> is the IP address of system
which is bound to LAC service.